Pagini recente » Borderou de evaluare (job #496391) | Borderou de evaluare (job #2413553) | Borderou de evaluare (job #2937569) | Borderou de evaluare (job #1877051) | Borderou de evaluare (job #1389377)
Borderou de evaluare (job #1389377)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:65:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p=urm[s[i]][p];
^
user.cpp:38: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:39: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:40:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:53:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:56:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccz0sTj4.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 | 0ms | 300kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 428kb | OK | 10 |
5 | 8ms | 500kb | OK | 10 |
6 | 0ms | 328kb | OK | 10 |
7 | 24ms | 288kb | OK | 10 |
8 | 16ms | 300kb | OK | 10 |
9 | 24ms | 428kb | OK | 10 |
10 | 20ms | 664kb | OK | 10 |
Punctaj total | 100 |