Pagini recente » Borderou de evaluare (job #2692056) | Borderou de evaluare (job #537859) | Borderou de evaluare (job #3247729) | Borderou de evaluare (job #290498) | Borderou de evaluare (job #2362872)
Borderou de evaluare (job #2362872)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:53: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for(int i = 1; i <= m; ++i) scanf("%d", &road[i]);
^
main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 0; i <= n; ++i)
^~~
main.cpp:27:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
details x, y;
^~~~~~~
main.cpp:12:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("panza.in", "r", stdin);
^
main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("panza.out", "w", stdout);
^
main.cpp:15:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &n, &m, &s, &f);
^
main.cpp:17:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= m; ++i) scanf("%d", &road[i]);
^
main.cpp:18:85: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i) scanf("%d%d", &allowed[i].first, &allowed[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | Killed by Signal 11 | 0 |
3 | 3ms | 131kb | OK | 10 |
4 | 5ms | 1310kb | Killed by Signal 11 | 0 |
5 | 15ms | 1441kb | Incorect | 0 |
6 | 23ms | 1572kb | OK | 10 |
7 | 28ms | 1572kb | OK | 10 |
8 | 43ms | 15204kb | Killed by Signal 11 | 0 |
9 | 64ms | 18481kb | Killed by Signal 11 | 0 |
10 | 45ms | 17301kb | Killed by Signal 11 | 0 |
Punctaj total | 40 |