Pagini recente » Borderou de evaluare (job #1480209) | Borderou de evaluare (job #2745179) | Borderou de evaluare (job #2933755) | Borderou de evaluare (job #1951694) | Borderou de evaluare (job #1416124)
Borderou de evaluare (job #1416124)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
f[ s[i] ] ++;
^
user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ordine.in", "r", stdin);
^
user.cpp:50:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ordine.out", "w", stdout);
^
user.cpp:51:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void solve(char)’:
user.cpp:23:15: warning: array subscript is above array bounds [-Warray-bounds]
if(f[i] >= n / 2 + 1)
^
user.cpp:28:12: warning: array subscript is above array bounds [-Warray-bounds]
f[i]--;
^
user.cpp:28:12: warning: array subscript is above array bounds [-Warray-bounds]
/tmp/ccUSjBQP.o: In function `main':
user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | OK | 10 |
2 | 0ms | 232kb | OK | 10 |
3 | 0ms | 224kb | OK | 10 |
4 | 0ms | 236kb | OK | 10 |
5 | 20ms | 328kb | OK | 10 |
6 | 56ms | 524kb | OK | 10 |
7 | 76ms | 624kb | OK | 10 |
8 | 140ms | 916kb | OK | 10 |
9 | 176ms | 1112kb | OK | 10 |
10 | 92ms | 736kb | OK | 10 |
Punctaj total | 100 |