Pagini recente » Propuneri infoarena | Borderou de evaluare (job #2100000) | Borderou de evaluare (job #2233179) | Borderou de evaluare (job #2689637) | Borderou de evaluare (job #2468608)
Borderou de evaluare (job #2468608)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:138:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[400042]' [-Wformat=]
scanf("%s",&str);
^
In file included from /usr/include/c++/6/cassert:44:0,
from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:33,
from main.cpp:2:
main.cpp:186:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(inv_array[i]<where.size());
~~~~~~~~~~~~^~~~~~~~~~~~~
main.cpp:132:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("frequent.in","r",stdin);
^
main.cpp:133:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("frequent.out","w",stdout);
^
main.cpp:135:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&k);
^
main.cpp:138:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&str);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 45ms | 22687kb | OK | 5 |
| 2 | 47ms | 22700kb | OK | 5 |
| 3 | 52ms | 22900kb | OK | 5 |
| 4 | 91ms | 23924kb | OK | 5 |
| 5 | 88ms | 23621kb | OK | 5 |
| 6 | 106ms | 23957kb | OK | 5 |
| 7 | 518ms | 30932kb | OK | 5 |
| 8 | 1814ms | 34689kb | OK | 5 |
| 9 | 732ms | 33832kb | OK | 5 |
| 10 | 831ms | 35561kb | OK | 5 |
| 11 | 824ms | 35368kb | OK | 5 |
| 12 | 1002ms | 37072kb | OK | 5 |
| 13 | 910ms | 36720kb | OK | 5 |
| 14 | 949ms | 39129kb | OK | 5 |
| 15 | 1431ms | 42700kb | OK | 5 |
| 16 | 1599ms | 45600kb | OK | 5 |
| 17 | 1864ms | 48852kb | OK | 5 |
| 18 | 2000ms | 51122kb | Time limit exceeded | 0 |
| 19 | 2002ms | 47685kb | Time limit exceeded | 0 |
| 20 | 2003ms | 53882kb | Time limit exceeded | 0 |
| Punctaj total | 85 |