Pagini recente » Borderou de evaluare (job #2291214) | Borderou de evaluare (job #2065618) | Borderou de evaluare (job #1372079) | Borderou de evaluare (job #1645170) | Borderou de evaluare (job #1756487)
Borderou de evaluare (job #1756487)
Raport evaluator
Compilare:
user.cpp:56:3: warning: "/*" within comment [-Wcomment]
/* GCD(0,v) == v; GCD(u,0) == u, GCD(0,0) == 0
^
user.cpp:60:3: warning: "/*" within comment [-Wcomment]
/* Let shift := lg K, where K is the greatest power of 2
^
user.cpp:70:3: warning: "/*" within comment [-Wcomment]
/* From here on, u is always odd.
^
user.cpp:72:8: warning: "/*" within comment [-Wcomment]
/* remove all factors of 2 in v -- they are not common
^
user.cpp:73:8: warning: "/*" within comment [-Wcomment]
/* note: v is not zero, so while will terminate
^
user.cpp:74:30: warning: "/*" within comment [-Wcomment]
while ((v & 1) == 0) /* Loop X
^
user.cpp:77:8: warning: "/*" within comment [-Wcomment]
/* Now u and v are both odd. Swap if necessary so u <= v,
^
user.cpp:86:3: warning: "/*" within comment [-Wcomment]
/* restore common factors of 2
^
user.cpp: In function ‘void citire()’:
user.cpp:18:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &n, &m, &h, &w);
^
user.cpp:21:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[i][j][0]);
^
user.cpp: In function ‘int main()’:
user.cpp:133:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid.in", "r", stdin);
^
user.cpp:134:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid.out", "w", stdout);
^
user.cpp:138:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &teste);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 576kb | OK | 10 |
2 | 4ms | 576kb | OK | 10 |
3 | 4ms | 572kb | OK | 10 |
4 | 272ms | 5952kb | OK | 10 |
5 | 272ms | 5952kb | OK | 10 |
6 | 268ms | 5952kb | OK | 10 |
7 | 1920ms | 5952kb | OK | 10 |
8 | 1892ms | 5952kb | OK | 10 |
9 | 1920ms | 5952kb | OK | 10 |
10 | 1952ms | 5956kb | OK | 10 |
Punctaj total | 100 |