Borderou de evaluare (job #1516542)

Utilizator andreeainfo_dAndreea Dutulescu andreeainfo_d Data 3 noiembrie 2015 09:47:16
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
10ms268kbOK55
20ms264kbOK55
30ms272kbIncorect00
40ms268kbIncorect00
50ms280kbIncorect00
60ms288kbIncorect00
70ms284kbIncorect00
80ms284kbIncorect00
912ms424kbIncorect00
1012ms424kbIncorect0
1112ms420kbIncorect0
1212ms424kbIncorect0
1312ms420kbIncorect0
1412ms424kbIncorect0
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?