Pagini recente » Borderou de evaluare (job #308294) | Borderou de evaluare (job #2690060)
Borderou de evaluare (job #2690060)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:26:26: warning: array subscript has type 'char' [-Wchar-subscripts]
f[v[i].back()] ++;
^
main.cpp:12:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stv.in", "r", stdin);
^
main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("stv.out", "w", stdout);
^
main.cpp:15:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd", &n, &m);
^
main.cpp:18:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &c);
^
main.cpp:21:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &x);
^
main.cpp:40:21: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
ans[i] = poz;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 131kb | OK | 10 |
8 | 4ms | 131kb | OK | 10 |
9 | 6ms | 131kb | OK | 10 |
10 | 4ms | 131kb | OK | 10 |
Punctaj total | 100 |