Pagini recente » Cod sursa (job #2651913) | Cod sursa (job #2411142) | Cod sursa (job #505282) | Borderou de evaluare (job #2022174) | Borderou de evaluare (job #1330954)
Borderou de evaluare (job #1330954)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:23:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[nod].size(); ++i) {
^
user.cpp: In function ‘void heavy(int, int, int)’:
user.cpp:107:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[nod].size(); ++i) {
^
user.cpp:114:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[nod].size(); ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:157:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < paths[i].v.size(); ++j)
^
user.cpp:125:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("delay.in", "r", stdin);
^
user.cpp:126:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("delay.out", "w", stdout);
^
user.cpp:128:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:129:50: 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", &v[i]);
^
user.cpp:132:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:162:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &M);
^
user.cpp:165:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2836kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 16ms | 2864kb | OK | 10 |
3 | 40ms | 3064kb | OK | 10 |
4 | 124ms | 4000kb | OK | 10 |
5 | 172ms | 5056kb | OK | 10 |
6 | 188ms | 5100kb | OK | 10 |
7 | 192ms | 5056kb | OK | 10 |
8 | 240ms | 5796kb | OK | 10 |
9 | 280ms | 6060kb | OK | 10 |
10 | 396ms | 6616kb | OK | 10 |
Punctaj total | 90 |