Pagini recente » Borderou de evaluare (job #1665323) | Borderou de evaluare (job #2810610) | Borderou de evaluare (job #839913) | Borderou de evaluare (job #1915751) | Borderou de evaluare (job #2112510)
Borderou de evaluare (job #2112510)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:49:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, type;
^
user.cpp:45:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in", "r", stdin);
^
user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out", "w", stdout);
^
user.cpp:52:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &type, &n);
^
user.cpp:53:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(type == 2) scanf("%lld %lld", &p1, &p2);
^
user.cpp:56:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; ++i) scanf("%d", v + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 376ms | 1560kb | OK | 5 |
2 | 308ms | 1360kb | OK | 5 |
3 | 208ms | 1088kb | OK | 5 |
4 | 224ms | 1096kb | OK | 5 |
5 | 296ms | 1344kb | OK | 5 |
6 | 0ms | 452kb | Incorect | 0 |
7 | 0ms | 444kb | Incorect | 0 |
8 | 60ms | 592kb | Incorect | 0 |
9 | 68ms | 616kb | Incorect | 0 |
10 | 16ms | 500kb | Incorect | 0 |
11 | 80ms | 628kb | Incorect | 0 |
12 | 60ms | 588kb | Incorect | 0 |
13 | 68ms | 612kb | Incorect | 0 |
14 | 376ms | 1264kb | Incorect | 0 |
15 | 496ms | 1572kb | Incorect | 0 |
16 | 352ms | 1160kb | Incorect | 0 |
17 | 524ms | 1540kb | Incorect | 0 |
18 | 452ms | 1408kb | Incorect | 0 |
19 | 320ms | 1148kb | Incorect | 0 |
20 | 124ms | 836kb | OK | 5 |
Punctaj total | 30 |