Pagini recente » Borderou de evaluare (job #1007394) | Borderou de evaluare (job #2963190) | Borderou de evaluare (job #69986) | Borderou de evaluare (job #989004) | Borderou de evaluare (job #1251612)
Borderou de evaluare (job #1251612)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:25:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp: In function ‘void dfs2(int, ELEMENT)’:
user.cpp:50:27: warning: variable ‘oldvalue’ set but not used [-Wunused-but-set-variable]
int i, poz, newvalue, oldvalue, u;
^
user.cpp: In function ‘int main()’:
user.cpp:98:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("trib.in", "r", stdin);
^
user.cpp:99:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("trib.out", "w", stdout);
^
user.cpp:101:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &n);
^
user.cpp:103:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &x, &y);
^
user.cpp: In function ‘void dfs2(int, ELEMENT)’:
user.cpp:81:13: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i < poz) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 2528kb | OK | 10 |
2 | 116ms | 4004kb | OK | 10 |
3 | 96ms | 3060kb | OK | 10 |
4 | 136ms | 3408kb | OK | 10 |
5 | 0ms | 1476kb | Incorect | 0 |
6 | 148ms | 3880kb | OK | 10 |
7 | 92ms | 3788kb | OK | 10 |
8 | 76ms | 2624kb | OK | 10 |
9 | 0ms | 1444kb | Incorect | 0 |
10 | 0ms | 1472kb | Incorect | 0 |
Punctaj total | 70 |