Pagini recente » Borderou de evaluare (job #38866) | Borderou de evaluare (job #10511) | Borderou de evaluare (job #846008) | Borderou de evaluare (job #155672) | Borderou de evaluare (job #1930077)
Borderou de evaluare (job #1930077)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++f[s[i]];
^
user.cpp:18:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (f[s[i]] == 2)
^
user.cpp:8: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:9: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:12:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
int n; gets(s);
^
/tmp/ccLryNLw.o: In function `main':
user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 220kb | OK | 10 | 100 |
2 | 0ms | 216kb | OK | 10 |
3 | 0ms | 212kb | OK | 10 |
4 | 0ms | 216kb | OK | 10 |
5 | 0ms | 224kb | OK | 10 |
6 | 0ms | 232kb | OK | 10 |
7 | 0ms | 248kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 0ms | 312kb | OK | 10 |
10 | 0ms | 316kb | OK | 10 |
Punctaj total | 100 |