Pagini recente » Borderou de evaluare (job #1954528) | Borderou de evaluare (job #2221769) | Borderou de evaluare (job #1286907) | Borderou de evaluare (job #1990318) | Borderou de evaluare (job #1603386)
Borderou de evaluare (job #1603386)
Raport evaluator
Compilare:
user.cpp: In function ‘void pathDecomposition()’:
user.cpp:64:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < chain[i].size(); ++ j)
^
user.cpp: In function ‘int main()’:
user.cpp:92:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rafaela.in", "r", stdin);
^
user.cpp:93:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rafaela.out", "w", stdout);
^
user.cpp:95:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &n, &q);
^
user.cpp:98:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i", &x, &y);
^
user.cpp:108:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &x);
^
user.cpp:121:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:124:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &type);
^
user.cpp:127:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i\n", &id);
^
user.cpp:136:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i\n", &nr, &id);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 9684kb | OK | 10 |
2 | 12ms | 9700kb | OK | 10 |
3 | 16ms | 9736kb | OK | 10 |
4 | 252ms | 14228kb | OK | 10 |
5 | 328ms | 15464kb | OK | 10 |
6 | 436ms | 17432kb | OK | 10 |
7 | 456ms | 18028kb | OK | 10 |
8 | 588ms | 19868kb | OK | 10 |
9 | 632ms | 20128kb | OK | 10 |
10 | 624ms | 21004kb | OK | 10 |
Punctaj total | 100 |