Pagini recente » Borderou de evaluare (job #650476) | Borderou de evaluare (job #2570467) | Borderou de evaluare (job #1784663) | Borderou de evaluare (job #2336439) | Borderou de evaluare (job #1756485)
Borderou de evaluare (job #1756485)
Raport evaluator
Compilare:
user.cpp:53:3: warning: "/*" within comment [-Wcomment]
/* GCD(0,v) == v; GCD(u,0) == u, GCD(0,0) == 0
^
user.cpp:57:3: warning: "/*" within comment [-Wcomment]
/* Let shift := lg K, where K is the greatest power of 2
^
user.cpp:67:3: warning: "/*" within comment [-Wcomment]
/* From here on, u is always odd.
^
user.cpp:69:8: warning: "/*" within comment [-Wcomment]
/* remove all factors of 2 in v -- they are not common
^
user.cpp:70:8: warning: "/*" within comment [-Wcomment]
/* note: v is not zero, so while will terminate
^
user.cpp:71:30: warning: "/*" within comment [-Wcomment]
while ((v & 1) == 0) /* Loop X
^
user.cpp:74:8: warning: "/*" within comment [-Wcomment]
/* Now u and v are both odd. Swap if necessary so u <= v,
^
user.cpp:83: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:130: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:131: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:135: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 | 572kb | OK | 10 |
3 | 4ms | 572kb | OK | 10 |
4 | 304ms | 5948kb | OK | 10 |
5 | 300ms | 5952kb | OK | 10 |
6 | 304ms | 5956kb | OK | 10 |
7 | Depăşit | 5948kb | Time limit exceeded. | 0 |
8 | Depăşit | 5948kb | Time limit exceeded. | 0 |
9 | Depăşit | 5948kb | Time limit exceeded. | 0 |
10 | Depăşit | 5944kb | Time limit exceeded. | 0 |
Punctaj total | 60 |