Pagini recente » Borderou de evaluare (job #1054855) | Borderou de evaluare (job #1333522) | Borderou de evaluare (job #421219) | Borderou de evaluare (job #2488094) | Borderou de evaluare (job #1333122)
Borderou de evaluare (job #1333122)
Raport evaluator
Compilare:
user.cpp: In function ‘int Query1(int, int)’:
user.cpp:17:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ii<t[i].size() && jj<t[j].size())
^
user.cpp:17:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ii<t[i].size() && jj<t[j].size())
^
user.cpp: In function ‘int Query2(int, int)’:
user.cpp:70:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:99:30: 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:100:32: 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:102:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:106:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&u);
^
user.cpp:110:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:117:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&type,&i,&j);
^
user.cpp: In function ‘int GetNear(int, int, int)’:
user.cpp:74:19: warning: ‘Max’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int k,l,r,m,f,Max;
^
user.cpp:92:27: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Max=max(Max,t[k][f]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Incorect | 0 |
| 2 | 0ms | 292kb | OK | 5 |
| 3 | 52ms | 672kb | OK | 5 |
| 4 | 252ms | 2712kb | OK | 5 |
| 5 | 0ms | 280kb | Incorect | 0 |
| 6 | 28ms | 488kb | Incorect | 0 |
| 7 | 296ms | 2712kb | Incorect | 0 |
| 8 | 28ms | 576kb | Incorect | 0 |
| 9 | 84ms | 1124kb | Incorect | 0 |
| 10 | 228ms | 2332kb | Incorect | 0 |
| 11 | 192ms | 2380kb | Incorect | 0 |
| 12 | 176ms | 2080kb | Incorect | 0 |
| 13 | 184ms | 2380kb | Incorect | 0 |
| 14 | 240ms | 2416kb | Incorect | 0 |
| 15 | 200ms | 2716kb | Incorect | 0 |
| 16 | 244ms | 2540kb | Incorect | 0 |
| 17 | 172ms | 2180kb | Incorect | 0 |
| 18 | 172ms | 2216kb | Incorect | 0 |
| 19 | 220ms | 2712kb | Incorect | 0 |
| 20 | 268ms | 2708kb | Incorect | 0 |
| Punctaj total | 15 |