Borderou de evaluare (job #1864292)

Utilizator Gigel-FroneGigel Fronel Gigel-Frone Data 31 ianuarie 2017 18:03:17
Problema Charlie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100000]’ [-Wformat=] scanf("%s", &s); ^ user.cpp:26:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<strlen(s); i++) ^ user.cpp:55:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<strlen(s)) ^ user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("charlie.in", "r", stdin); ^ user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("charlie.out", "w", stdout); ^ user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" ,&tip); ^ user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK5
20ms260kbOK5
30ms264kbOK5
40ms340kbOK5
50ms368kbOK5
60ms272kbOK5
70ms264kbOK5
80ms268kbOK5
952ms292kbOK5
10Depăşit280kbTime limit exceeded.0
11Depăşit344kbTime limit exceeded.0
12Depăşit312kbTime limit exceeded.0
13Depăşit344kbTime limit exceeded.0
14Depăşit340kbTime limit exceeded.0
15Depăşit308kbTime limit exceeded.0
16Depăşit324kbTime limit exceeded.0
17Depăşit332kbTime limit exceeded.0
18Depăşit344kbTime limit exceeded.0
19Depăşit348kbTime limit exceeded.0
200ms268kbOK5
Punctaj total50

Ceva nu functioneaza?