Borderou de evaluare (job #1281584)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 3 decembrie 2014 14:33:21
Problema Taste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:34:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %d", &x, &y); ^ user.cpp:34:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:46:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ok) if (x<=VERIF && VERIF<=y) ^ user.cpp:46:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ok) if (x<=VERIF && VERIF<=y) ^ user.cpp:30:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.in","r",stdin); ^ user.cpp:31:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taste.out","w",stdout); ^ user.cpp:34:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbCorect10
2Depăşit272kbTime limit exceeded.0
3Depăşit272kbTime limit exceeded.0
40ms304kbIncorect0
50ms304kbCorect10
6Depăşit272kbTime limit exceeded.0
7Depăşit272kbTime limit exceeded.0
8Depăşit272kbTime limit exceeded.0
9Depăşit272kbTime limit exceeded.0
10Depăşit276kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?