Borderou de evaluare (job #1566623)

Utilizator nacrocRadu C nacroc Data 12 ianuarie 2016 13:41:23
Problema Numar2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:15: warning: unused variable ‘poz’ [-Wunused-variable] int N, M, poz = 0, x; ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar2.in", "r", stdin); ^ user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar2.out", "w", stdout); ^ user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18msDepăşitMemory limit exceeded.0
24ms544kbOK10
312msDepăşitMemory limit exceeded.0
436msDepăşitMemory limit exceeded.0
532msDepăşitMemory limit exceeded.0
632msDepăşitMemory limit exceeded.0
732msDepăşitMemory limit exceeded.0
836msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
1032msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?