Pagini recente » Borderou de evaluare (job #177587) | Borderou de evaluare (job #2152339) | Borderou de evaluare (job #623939) | Borderou de evaluare (job #1964517) | Borderou de evaluare (job #1666937)
Borderou de evaluare (job #1666937)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:71:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < E[x].size(); ++ i)
^
user.cpp: In function ‘void write()’:
user.cpp:160:13: warning: unused variable ‘lca’ [-Wunused-variable]
int lca = LCA(x, y);
^
user.cpp:153:15: warning: unused variable ‘i’ [-Wunused-variable]
int x, y, i;
^
user.cpp: In function ‘void read()’:
user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radiatie.in", "r", stdin);
^
user.cpp:43:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &k);
^
user.cpp:45:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &V[i].x, &V[i].y, &V[i].z);
^
user.cpp: In function ‘void write()’:
user.cpp:154:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radiatie.out", "w", stdout);
^
user.cpp:157:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 644kb | OK | 10 |
2 | 0ms | 672kb | OK | 10 |
3 | 4ms | 840kb | OK | 10 |
4 | 16ms | 1204kb | OK | 10 |
5 | 28ms | 1916kb | OK | 10 |
6 | 40ms | 2564kb | OK | 10 |
7 | 36ms | 2684kb | OK | 10 |
8 | 52ms | 3716kb | OK | 10 |
9 | 40ms | 3840kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 36ms | 3192kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 80 |