Pagini recente » Borderou de evaluare (job #2258568) | Borderou de evaluare (job #1240034) | Borderou de evaluare (job #2953578) | Borderou de evaluare (job #848624) | Borderou de evaluare (job #1701728)
Borderou de evaluare (job #1701728)
Raport evaluator
Compilare:
user.cpp: In member function ‘matrix aint::query(int, int, int, int, int)’:
user.cpp:84:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (qR > mid)
^
user.cpp: In function ‘int main()’:
user.cpp:124:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("namlei.in","r",stdin);
^
user.cpp:125:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("namlei.out","w",stdout);
^
user.cpp:127:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:128:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &X, &Y); X %= k; Y %= k;
^
user.cpp:138:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &cnt, &p1, &p2);
^
user.cpp:149:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:153:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp:156:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d\n", &pos, &cnt, &p1, &p2);
^
user.cpp:165:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &cnt, &p1, &p2);
^
user.cpp:180:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d\n", &p1, &o1, &p2, &o2); o1++; o2++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 648kb | OK | 10 |
2 | 20ms | 632kb | OK | 10 |
3 | 92ms | 14344kb | OK | 10 |
4 | 120ms | 14336kb | OK | 10 |
5 | 284ms | 31520kb | OK | 10 |
6 | 124ms | 31516kb | OK | 10 |
7 | 80ms | 8444kb | OK | 10 |
8 | 124ms | 24484kb | OK | 10 |
9 | 88ms | 15048kb | OK | 10 |
10 | 316ms | 31516kb | OK | 10 |
Punctaj total | 100 |