#include <cstdlib> #include <iostream> #include <fstream> #include <cstring> using namespace std; ifstream fin("aa.in"); int t,n; int fa[50001],enmy[50001],enkidu[50001]; void Sword_Of_Wrynn(int i,int j,int n1,int n2,int hao){ if(n1==i&&n2==i){ enkidu[hao]+=j; return...
I don't have experience in this (POSIX functions), but you might need to add -lc (that's LC, not IC) to your command-line to link with the C library (clib). But as jonnin said, since you're clearly using C++, I would used std::ifstream instead of Unix functions. Jan 8, ...