Pagini recente » Borderou de evaluare (job #3137244) | Borderou de evaluare (job #2710993) | Borderou de evaluare (job #2454850) | Borderou de evaluare (job #419830) | Borderou de evaluare (job #2733688)
Borderou de evaluare (job #2733688)
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 | 2574ms | 8409kb | Incorect | 0 |
| 2 | 1830ms | 8380kb | OK | 5 |
| 3 | 2371ms | 8396kb | Incorect | 0 |
| 4 | 2285ms | 8306kb | OK | 5 |
| 5 | 2426ms | 8396kb | Incorect | 0 |
| 6 | 2197ms | 8404kb | OK | 5 |
| 7 | 2219ms | 8294kb | Incorect | 0 |
| 8 | 1969ms | 8368kb | OK | 5 |
| 9 | 1899ms | 8388kb | Incorect | 0 |
| 10 | 2315ms | 8298kb | OK | 5 |
| 11 | 2282ms | 8388kb | Incorect | 0 |
| 12 | 2790ms | 8351kb | Incorect | 0 |
| 13 | 4004ms | 8400kb | Time limit exceeded | 0 |
| 14 | 3051ms | 8351kb | Incorect | 0 |
| 15 | 4001ms | 8347kb | Time limit exceeded | 0 |
| 16 | 4003ms | 8388kb | Time limit exceeded | 0 |
| 17 | 4003ms | 8388kb | Time limit exceeded | 0 |
| 18 | 4003ms | 8388kb | Time limit exceeded | 0 |
| 19 | 3023ms | 8359kb | Incorect | 0 |
| 20 | 2275ms | 8392kb | OK | 5 |
| Punctaj total | 30 |