Borderou de evaluare (job #1904727)

Utilizator atatomirTatomir Alex atatomir Data 5 martie 2017 19:07:23
Problema Tri3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In member function ‘void aint::solve(int)’: user.cpp:74:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (pos + 1 < data[node].size()) { ^ user.cpp: In function ‘int main()’: user.cpp:150:43: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld%lld", &P[i].x, &P[i].y); ^ user.cpp:150:43: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:153:47: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld%lld", &Q[i].A.x, &Q[i].A.y); ^ user.cpp:153:47: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:154:47: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld%lld", &Q[i].B.x, &Q[i].B.y); ^ user.cpp:154:47: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:145:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri3.in","r",stdin); ^ user.cpp:146:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tri3.out","w",stdout); ^ user.cpp:148:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:150:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &P[i].x, &P[i].y); ^ user.cpp:153:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &Q[i].A.x, &Q[i].A.y); ^ user.cpp:154:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &Q[i].B.x, &Q[i].B.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms628kbOK10
28ms1048kbIncorect0
3284ms33952kbIncorect0
4508ms61848kbIncorect0
5620msDepăşitMemory limit exceeded.0
6580msDepăşitMemory limit exceeded.0
7632msDepăşitMemory limit exceeded.0
8604msDepăşitMemory limit exceeded.0
9624msDepăşitMemory limit exceeded.0
10652msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?