Borderou de evaluare (job #1516548)

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

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
20ms276kbOK55
30ms272kbOK55
40ms276kbIncorect00
50ms288kbOK55
60ms288kbOK55
70ms284kbOK55
80ms288kbOK55
912ms428kbOK530
1012ms424kbOK5
1112ms432kbOK5
1212ms428kbOK5
1312ms432kbOK5
1416ms428kbOK5
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 total65

Ceva nu functioneaza?