Borderou de evaluare (job #1516536)

Utilizator andreeainfo_dAndreea Dutulescu andreeainfo_d Data 3 noiembrie 2015 09:43:36
Problema Hacker3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&a[i],&b[i]); ^ user.cpp:16:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.in","r",stdin); ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.out","w",stdout); ^ user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:16:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a[i],&b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbOK55
20ms268kbOK55
30ms268kbIncorect00
40ms268kbIncorect00
50ms284kbIncorect00
60ms284kbIncorect00
70ms280kbIncorect00
80ms284kbIncorect00
916ms420kbIncorect00
1016ms428kbIncorect0
1116ms424kbIncorect0
1216ms424kbIncorect0
1316ms424kbIncorect0
1416ms424kbIncorect0
1512msDepăşitMemory limit exceeded.00
1612msDepăşitMemory limit exceeded.0
1712msDepăşitMemory limit exceeded.0
1812msDepăşitMemory limit exceeded.0
1912msDepăşitMemory limit exceeded.0
2016msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?