Pagini recente » Borderou de evaluare (job #2574995) | Borderou de evaluare (job #958785) | Borderou de evaluare (job #1293053) | Borderou de evaluare (job #935221) | Borderou de evaluare (job #1389369)
Borderou de evaluare (job #1389369)
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/ccLLc7IG.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 | 296kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 416kb | Incorect | 0 |
4 | 0ms | 420kb | Incorect | 0 |
5 | 4ms | 496kb | Incorect | 0 |
6 | 0ms | 320kb | Incorect | 0 |
7 | 24ms | 284kb | OK | 10 |
8 | 12ms | 292kb | Incorect | 0 |
9 | 20ms | 424kb | Incorect | 0 |
10 | 12ms | 660kb | Incorect | 0 |
Punctaj total | 10 |