Pagini recente » Borderou de evaluare (job #269792) | Borderou de evaluare (job #618655) | Borderou de evaluare (job #1234673) | Borderou de evaluare (job #2332995) | Borderou de evaluare (job #2577160)
Borderou de evaluare (job #2577160)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::stack<char>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d",q.size()/2+cnt);
^
main.cpp:7:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("par.in","r",stdin);
^
main.cpp:8:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("par.out","w",stdout);
^
main.cpp:11:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
main.cpp:19:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 20 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | OK | 10 | 10 |
5 | 2ms | 131kb | OK | 10 | 10 |
6 | 2ms | 131kb | OK | 10 | 10 |
7 | 2ms | 131kb | OK | 10 | 10 |
8 | 2ms | 131kb | OK | 10 | 10 |
9 | 3ms | 131kb | OK | 10 | 10 |
10 | 3ms | 131kb | OK | 10 | 10 |
Punctaj total | 100 |