Borderou de evaluare (job #1541404)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 3 decembrie 2015 23:48:57
Problema Noname2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:70:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", dr); ^ user.cpp:45:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noname2.in" , "r", stdin ); ^ user.cpp:46:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("noname2.out", "w", stdout); ^ user.cpp:48:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld", &N, &K); ^ user.cpp:50:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &V[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms252kbOK10
30ms256kbOK10
40ms276kbOK10
5Depăşit1804kbTime limit exceeded.0
6Depăşit1804kbTime limit exceeded.0
7Depăşit1816kbTime limit exceeded.0
8Depăşit1804kbTime limit exceeded.0
9Depăşit1816kbTime limit exceeded.0
10Depăşit1820kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?