Pagini recente » Borderou de evaluare (job #2619092) | Borderou de evaluare (job #1641890) | Borderou de evaluare (job #255257) | Borderou de evaluare (job #427263) | Borderou de evaluare (job #1640054)
Borderou de evaluare (job #1640054)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harta5.in","r",stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harta5.out","w",stdout);
^
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:20:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:25:70: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&v1[i][1],&v1[i][2],&v1[i][3],&v1[i][4]);
^
user.cpp:40:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&i1,&j1,&i2,&j2);
^
user.cpp:32:68: warning: ‘l2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((v1[i][3]-v1[i][1]+1<=l1 && v1[i][4]-v1[i][2]+1<=l2)or(v1[i][3]-v1[i][1]+1<=l2 && v1[i][4]-v1[i][2]+1<=l1)) c++;
^
user.cpp:32:95: warning: ‘l1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((v1[i][3]-v1[i][1]+1<=l1 && v1[i][4]-v1[i][2]+1<=l2)or(v1[i][3]-v1[i][1]+1<=l2 && v1[i][4]-v1[i][2]+1<=l1)) c++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 5 |
2 | 0ms | 284kb | OK | 5 |
3 | 0ms | 284kb | OK | 5 |
4 | 0ms | 284kb | OK | 5 |
5 | 172ms | 1760kb | OK | 5 |
6 | 180ms | 1756kb | OK | 5 |
7 | 176ms | 1760kb | OK | 5 |
8 | 184ms | 1764kb | OK | 5 |
9 | 172ms | 1764kb | OK | 5 |
10 | 404ms | 2504kb | OK | 5 |
11 | 84ms | 1620kb | OK | 5 |
12 | 140ms | 1760kb | OK | 5 |
13 | 104ms | 1760kb | OK | 5 |
14 | 88ms | 1624kb | OK | 5 |
15 | 68ms | 1616kb | OK | 5 |
16 | 240ms | 2352kb | OK | 5 |
17 | 264ms | 2432kb | OK | 5 |
18 | 312ms | 2504kb | OK | 5 |
19 | 236ms | 2416kb | OK | 5 |
20 | 276ms | 2496kb | OK | 5 |
Punctaj total | 100 |