Pagini recente » Borderou de evaluare (job #1804788) | Borderou de evaluare (job #1762346) | Borderou de evaluare (job #3179942) | Borderou de evaluare (job #3183145) | Borderou de evaluare (job #2420676)
Borderou de evaluare (job #2420676)
Raport evaluator
Compilare:
main.cpp: In function 'void solve(int)':
main.cpp:11:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j = 1; j <= k; ++j)
^~~
main.cpp:13:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
bool ok = 1;
^~~~
main.cpp: In function 'int main()':
main.cpp:33:65: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
for(int j = 1; j <= nr; ++j) scanf("%d", a[i][++a[i][0]]);
^
main.cpp:28:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pluricex.in", "r", stdin);
^
main.cpp:29:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("pluricex.out", "w", stdout);
^
main.cpp:30:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &cate, &m);
^
main.cpp:32:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
main.cpp:33:66: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int j = 1; j <= nr; ++j) scanf("%d", a[i][++a[i][0]]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Killed by Signal 11 | 0 |
2 | 3ms | 131kb | Killed by Signal 11 | 0 |
3 | 3ms | 131kb | Killed by Signal 11 | 0 |
4 | 3ms | 131kb | Killed by Signal 11 | 0 |
5 | 3ms | 131kb | Killed by Signal 11 | 0 |
6 | 3ms | 131kb | Killed by Signal 11 | 0 |
7 | 3ms | 131kb | Killed by Signal 11 | 0 |
8 | 3ms | 131kb | Killed by Signal 11 | 0 |
9 | 3ms | 131kb | Killed by Signal 11 | 0 |
10 | 3ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |