Pagini recente » Borderou de evaluare (job #1613309) | Borderou de evaluare (job #1056703) | Borderou de evaluare (job #2340638) | Borderou de evaluare (job #2687265) | Borderou de evaluare (job #1398272)
Borderou de evaluare (job #1398272)
Raport evaluator
Compilare:
user.cpp: In function ‘int q2(int, int, int)’:
user.cpp:26:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
int i, j, s, d, val, nr, k, ok, nr0, rez, sol;
^
user.cpp: In function ‘int main()’:
user.cpp:60:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.in", "r", stdin);
^
user.cpp:61:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qvect.out","w", stdout);
^
user.cpp:63:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
user.cpp:66:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:70:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
user.cpp:75:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &op, &x, &y);
^
user.cpp: In function ‘int q2(int, int, int)’:
user.cpp:26:42: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i, j, s, d, val, nr, k, ok, nr0, rez, sol;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 340kb | OK | 5 |
| 2 | 0ms | 412kb | OK | 5 |
| 3 | 52ms | 1012kb | OK | 5 |
| 4 | 248ms | 2220kb | OK | 5 |
| 5 | 0ms | 304kb | OK | 5 |
| 6 | 28ms | 652kb | OK | 5 |
| 7 | 296ms | 2220kb | OK | 5 |
| 8 | 28ms | 852kb | OK | 5 |
| 9 | 80ms | 1252kb | OK | 5 |
| 10 | 184ms | 1904kb | OK | 5 |
| 11 | 204ms | 2100kb | OK | 5 |
| 12 | 148ms | 1884kb | OK | 5 |
| 13 | 196ms | 2124kb | OK | 5 |
| 14 | 220ms | 2212kb | OK | 5 |
| 15 | 188ms | 2216kb | OK | 5 |
| 16 | 252ms | 2216kb | OK | 5 |
| 17 | 192ms | 1924kb | OK | 5 |
| 18 | 188ms | 1924kb | OK | 5 |
| 19 | 220ms | 2220kb | OK | 5 |
| 20 | 312ms | 2220kb | OK | 5 |
| Punctaj total | 100 |