Pagini recente » Borderou de evaluare (job #2878911) | Borderou de evaluare (job #2681385) | Borderou de evaluare (job #3121371) | Monitorul de evaluare | Borderou de evaluare (job #2733677)
Borderou de evaluare (job #2733677)
Raport evaluator
Compilare:
main.cpp: In function 'int getMex(std::vector<int>&)':
main.cpp:41:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i >= vals.size() || vals[i] != i) return i;
~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:67:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("game4.in", "r", stdin);
^
main.cpp:68:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("game4.out", "w", stdout);
^
main.cpp:72:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &t, &c);
^
main.cpp:89:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:91:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 0; i < n; ++i) scanf("%d", &v), desc(v);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2357ms | 8351kb | Incorect | 0 |
| 2 | 1853ms | 8388kb | OK | 5 |
| 3 | 2445ms | 8339kb | Incorect | 0 |
| 4 | 2244ms | 8388kb | OK | 5 |
| 5 | 2455ms | 8380kb | Incorect | 0 |
| 6 | 2243ms | 8351kb | OK | 5 |
| 7 | 2236ms | 8290kb | Incorect | 0 |
| 8 | 2257ms | 8388kb | OK | 5 |
| 9 | 2150ms | 8404kb | Incorect | 0 |
| 10 | 1835ms | 8388kb | OK | 5 |
| 11 | 1838ms | 8388kb | Incorect | 0 |
| 12 | 2582ms | 8388kb | Incorect | 0 |
| 13 | 4003ms | 8335kb | Time limit exceeded | 0 |
| 14 | 2467ms | 8343kb | Incorect | 0 |
| 15 | 4003ms | 8404kb | Time limit exceeded | 0 |
| 16 | 4002ms | 8282kb | Time limit exceeded | 0 |
| 17 | 4000ms | 8306kb | Time limit exceeded | 0 |
| 18 | 4000ms | 8388kb | Time limit exceeded | 0 |
| 19 | 2448ms | 8388kb | Incorect | 0 |
| 20 | 2178ms | 8310kb | OK | 5 |
| Punctaj total | 30 |