Borderou de evaluare (job #1224408)

Utilizator HarciogRus Cristian Harciog Data 30 august 2014 21:45:42
Problema Tg Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:15:14: warning: unused variable ‘maxc’ [-Wunused-variable] long maxc = n / a; ^ user.cpp:24:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d", rez); ^ user.cpp:6:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tg.in", "r", stdin); ^ user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tg.out", "w", stdout); ^ user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms280kbIncorect0
224ms280kbIncorect0
312ms280kbIncorect0
40ms284kbOK5
58ms284kbIncorect0
616ms284kbIncorect0
712ms280kbIncorect0
812ms280kbIncorect0
932ms288kbIncorect0
10Depăşit252kbTime limit exceeded.0
11Depăşit252kbTime limit exceeded.0
12Depăşit256kbTime limit exceeded.0
13Depăşit256kbTime limit exceeded.0
14Depăşit256kbTime limit exceeded.0
15Depăşit260kbTime limit exceeded.0
16Depăşit260kbTime limit exceeded.0
17Depăşit252kbTime limit exceeded.0
18Depăşit256kbTime limit exceeded.0
19Depăşit252kbTime limit exceeded.0
20Depăşit252kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?