Pagini recente » Borderou de evaluare (job #2286417) | Borderou de evaluare (job #2421444) | Borderou de evaluare (job #1774989) | Cod sursa (job #1754938) | Borderou de evaluare (job #2546687)
Borderou de evaluare (job #2546687)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::stack<std::bitset<121ul> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", st.size());
^
main.cpp:7:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.in","r",stdin);
^
main.cpp:8:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("liste.out","w",stdout);
^
main.cpp:9:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:11:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
main.cpp:14:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 175ms | 131kb | OK | 10 |
| 4 | 55ms | 1048kb | OK | 10 |
| 5 | 90ms | 524kb | OK | 10 |
| 6 | 50ms | 1572kb | OK | 10 |
| 7 | 268ms | 131kb | OK | 10 |
| 8 | 164ms | 655kb | OK | 10 |
| 9 | 117ms | 917kb | OK | 10 |
| 10 | 12ms | 262kb | OK | 10 |
| Punctaj total | 100 |