Nu aveti permisiuni pentru a descarca fisierul grader_eval.cpp
Borderou de evaluare (job #1313976)
| Utilizator | Data | 11 ianuarie 2015 13:18:39 | |
|---|---|---|---|
| Problema | Mcript | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 10 | ||
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0 ; i < strlen(s) ; ++i )
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);getchar();gets(s);
^
user.cpp:18:38: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);getchar();gets(s);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp: In function ‘void Solve_it()’:
user.cpp:82:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &k); k > 0 ; --k)
^
user.cpp:84:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:89:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
/tmp/ccp9snHn.o: In function `Read()':
user.cpp:(.text+0x246): warning: the `gets' function is dangerous and should not be used.
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 92ms | 18496kb | OK | 10 |
| 2 | 92ms | 18496kb | Incorect | 0 |
| 3 | 96ms | 18500kb | Incorect | 0 |
| 4 | 116ms | 18492kb | Incorect | 0 |
| 5 | 144ms | 18512kb | Incorect | 0 |
| 6 | 172ms | 18532kb | Incorect | 0 |
| 7 | 232ms | 18644kb | Incorect | 0 |
| 8 | 528ms | 19564kb | Incorect | 0 |
| 9 | Depăşit | 20832kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 23912kb | Time limit exceeded. | 0 |
| Punctaj total | 10 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
