Pagini recente » Borderou de evaluare (job #3033467) | Borderou de evaluare (job #2921052) | Borderou de evaluare (job #1098352) | Borderou de evaluare (job #3215051) | Borderou de evaluare (job #1389372)
Borderou de evaluare (job #1389372)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p=urm[s[i]][p];
^
user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.in", "r", stdin);
^
user.cpp:49:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.out", "w", stdout);
^
user.cpp:50:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:63:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:66:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccWARlNZ.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 40ms | 296kb | OK | 10 |
| 2 | Depăşit | 284kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 420kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 432kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 516kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 340kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 296kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 300kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 688kb | Time limit exceeded. | 0 |
| Punctaj total | 10 |