Borderou de evaluare (job #1864300)

Utilizator Gigel-FroneGigel Fronel Gigel-Frone Data 31 ianuarie 2017 18:07:32
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
60ms272kbOK5
70ms272kbOK5
80ms272kbOK5
952ms284kbOK5
10Depăşit284kbTime limit exceeded.0
11Depăşit348kbTime limit exceeded.0
12Depăşit316kbTime limit exceeded.0
13Depăşit332kbTime limit exceeded.0
14Depăşit344kbTime limit exceeded.0
15Depăşit308kbTime limit exceeded.0
16Depăşit324kbTime limit exceeded.0
17Depăşit332kbTime limit exceeded.0
18Depăşit340kbTime limit exceeded.0
19Depăşit344kbTime limit exceeded.0
200ms268kbOK5
Punctaj total50

Ceva nu functioneaza?