Pagini recente » Borderou de evaluare (job #3241524) | Diferente pentru problema/zero2 intre reviziile 1 si 2 | Borderou de evaluare (job #2550570) | Borderou de evaluare (job #2606655) | Borderou de evaluare (job #2310887)
Borderou de evaluare (job #2310887)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:65:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < vec.size(); i++) {
~~^~~~~~~~~~~~
main.cpp:115:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ans.size(); i++)
~~^~~~~~~~~~~~
main.cpp:51:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("drum2.in", "r", stdin);
^
main.cpp:52:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("drum2.out", "w", stdout);
^
main.cpp:53:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:57:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &c[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 5ms | 524kb | OK | 10 |
| 2 | 7ms | 524kb | OK | 10 |
| 3 | 8ms | 655kb | OK | 10 |
| 4 | 9ms | 655kb | OK | 10 |
| 5 | 10ms | 745kb | OK | 10 |
| 6 | 10ms | 786kb | OK | 10 |
| 7 | 12ms | 786kb | OK | 10 |
| 8 | 13ms | 851kb | OK | 10 |
| 9 | 14ms | 851kb | OK | 10 |
| 10 | 4ms | 393kb | OK | 10 |
| Punctaj total | 100 |