Pagini recente » Borderou de evaluare (job #1948886) | Borderou de evaluare (job #2224390) | Cod sursa (job #200092) | Borderou de evaluare (job #2770884) | Borderou de evaluare (job #1313990)
Borderou de evaluare (job #1313990)
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/cc42cO8n.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 | 64ms | 13952kb | OK | 10 |
| 2 | 64ms | 13948kb | OK | 10 |
| 3 | 72ms | 13952kb | OK | 10 |
| 4 | 88ms | 13944kb | OK | 10 |
| 5 | 116ms | 13968kb | OK | 10 |
| 6 | 152ms | 13996kb | OK | 10 |
| 7 | 208ms | 14116kb | OK | 10 |
| 8 | 496ms | 15212kb | OK | 10 |
| 9 | Depăşit | 16512kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 19444kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |