Pagini recente » Borderou de evaluare (job #475052) | Borderou de evaluare (job #2230342) | Borderou de evaluare (job #446576) | Borderou de evaluare (job #2222825) | Borderou de evaluare (job #2112832)
Borderou de evaluare (job #2112832)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(++freq[v[i]] > 1)
^
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dinozaur.in", "r", stdin);
^
user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dinozaur.out", "w", stdout);
^
user.cpp:10:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v);
^
/tmp/ccnkpKqa.o: In function `main':
user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 380kb | OK | 10 | 100 |
2 | 0ms | 380kb | OK | 10 |
3 | 0ms | 384kb | OK | 10 |
4 | 0ms | 384kb | OK | 10 |
5 | 0ms | 384kb | OK | 10 |
6 | 0ms | 396kb | OK | 10 |
7 | 0ms | 420kb | OK | 10 |
8 | 0ms | 440kb | OK | 10 |
9 | 0ms | 476kb | OK | 10 |
10 | 0ms | 480kb | OK | 10 |
Punctaj total | 100 |