Pagini recente » Borderou de evaluare (job #1958458) | Borderou de evaluare (job #1578829) | Borderou de evaluare (job #1817918) | Borderou de evaluare (job #1004210) | Borderou de evaluare (job #2351013)
Borderou de evaluare (job #2351013)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:53:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = 1; i <= n; i ++)
^~~
main.cpp:57:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
memset (seen, 0, sizeof (seen));
^~~~~~
main.cpp:66:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ctc[i].size() >= max1)
~~~~~~~~~~~~~~^~~~~~~
main.cpp:65:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for (int i = 1; i <= nr; i ++)
^~~
main.cpp:71:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for (vector <int> :: iterator it = ctc[ci].begin(); it != ctc[ci].end(); it ++)
^~~
main.cpp:82:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < c.size(); i ++)
~~^~~~~~~~~~
main.cpp:37:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("plimbare.in", "r", stdin);
^
main.cpp:38:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("plimbare.out", "w", stdout);
^
main.cpp:40:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
main.cpp:46:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &x, &y);
^
main.cpp:42:12: warning: 'ci' may be used uninitialized in this function [-Wmaybe-uninitialized]
int k, ci, max1 = 0;
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 5 |
2 | 2ms | 131kb | OK! | 5 |
3 | 2ms | 131kb | OK! | 5 |
4 | 2ms | 131kb | OK! | 5 |
5 | 2ms | 131kb | OK! | 5 |
6 | 2ms | 131kb | OK! | 5 |
7 | 3ms | 131kb | OK! | 5 |
8 | 3ms | 131kb | OK! | 5 |
9 | 3ms | 262kb | OK! | 5 |
10 | 3ms | 131kb | OK! | 5 |
11 | 4ms | 262kb | OK! | 5 |
12 | 4ms | 262kb | OK! | 5 |
13 | 4ms | 262kb | OK! | 5 |
14 | 4ms | 262kb | OK! | 5 |
15 | 4ms | 262kb | OK! | 5 |
16 | 4ms | 262kb | OK! | 5 |
17 | 5ms | 262kb | OK! | 5 |
18 | 5ms | 262kb | OK! | 5 |
19 | 5ms | 262kb | OK! | 5 |
20 | 5ms | 262kb | OK! | 5 |
Punctaj total | 100 |