Borderou de evaluare (job #1864295)

Utilizator Gigel-FroneGigel Fronel Gigel-Frone Data 31 ianuarie 2017 18:05:00
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
20ms264kbOK5
30ms264kbOK5
40ms332kbOK5
50ms364kbOK5
60ms264kbOK5
70ms272kbOK5
80ms268kbOK5
952ms292kbOK5
10Depăşit280kbTime limit exceeded.0
11Depăşit352kbTime limit exceeded.0
12Depăşit320kbTime limit exceeded.0
13Depăşit340kbTime limit exceeded.0
14Depăşit344kbTime limit exceeded.0
15Depăşit304kbTime limit exceeded.0
16Depăşit332kbTime limit exceeded.0
17Depăşit328kbTime limit exceeded.0
18Depăşit348kbTime limit exceeded.0
19Depăşit340kbTime limit exceeded.0
200ms272kbOK5
Punctaj total50

Ceva nu functioneaza?