Pagini recente » Borderou de evaluare (job #2299512) | Borderou de evaluare (job #2565206) | Borderou de evaluare (job #932180) | Borderou de evaluare (job #115303) | Borderou de evaluare (job #2285648)
Borderou de evaluare (job #2285648)
Raport evaluator
Compilare:
main.cpp: In function 'int onion(int, int)':
main.cpp:19:11: warning: no return statement in function returning non-void [-Wreturn-type]
tata[x]=y;}
^
main.cpp: In function 'int main()':
main.cpp:44:1: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (b[v[i].x+dx[d]][v[i].y+dy[d]])
^~
main.cpp:45:70: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
onion(findt(b[v[i].x][v[i].y]),findt(b[v[i].x+dx[d]][v[i].y+dy[d]]));++i;}
^~
main.cpp:25:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice2.in","r",stdin);
^
main.cpp:26:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("matrice2.out","w",stdout);
^
main.cpp:28:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
main.cpp:31:43: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]),v[++nr].x=i,v[nr].y=j;
^
main.cpp:34:63: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&s[i].x1,&s[i].y1,&s[i].x2,&s[i].y2),s[i].p=i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 524kb | OK | 5 |
2 | 4ms | 524kb | OK | 5 |
3 | 8ms | 524kb | OK | 5 |
4 | 47ms | 786kb | OK | 5 |
5 | 30ms | 655kb | OK | 5 |
6 | 38ms | 655kb | OK | 5 |
7 | 47ms | 786kb | OK | 5 |
8 | 85ms | 917kb | OK | 5 |
9 | 85ms | 917kb | OK | 5 |
10 | 211ms | 1441kb | OK | 5 |
11 | 205ms | 1441kb | OK | 5 |
12 | 482ms | 2097kb | OK | 5 |
13 | 611ms | 2097kb | OK | 5 |
14 | 558ms | 2228kb | OK | 5 |
15 | 491ms | 2228kb | OK | 5 |
16 | 869ms | 2228kb | OK | 5 |
17 | 512ms | 2228kb | OK | 5 |
18 | 556ms | 2359kb | OK | 5 |
19 | 643ms | 2490kb | OK | 5 |
20 | 674ms | 2490kb | OK | 5 |
Punctaj total | 100 |