Pagini recente » Cod sursa (job #2864321) | Borderou de evaluare (job #1773557) | Cod sursa (job #910106) | Borderou de evaluare (job #2638629) | Borderou de evaluare (job #2030020)
Borderou de evaluare (job #2030020)
Raport evaluator
Compilare:
user.cpp: In function ‘void Merge(int, int, int)’:
user.cpp:24:9: warning: unused variable ‘szx’ [-Wunused-variable]
int szx,szy,szz;
^
user.cpp: In function ‘int main()’:
user.cpp:150:23: warning: unused variable ‘mid’ [-Wunused-variable]
int st,dr,mid,sol;
^
user.cpp:124:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mess.in","r",stdin);
^
user.cpp:125:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mess.out","w",stdout);
^
user.cpp:126:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:129:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
user.cpp:142:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:145:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:151:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&pa,&qa,&k);
^
user.cpp:167:39: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n",p[sol].first);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 88ms | 12548kb | OK | 10 |
| 2 | 300ms | 14104kb | OK | 10 |
| 3 | 332ms | 14648kb | OK | 10 |
| 4 | 1192ms | 20624kb | OK | 10 |
| 5 | 1756ms | 28072kb | OK | 10 |
| 6 | 1744ms | 22168kb | OK | 10 |
| 7 | 1508ms | 22696kb | OK | 10 |
| 8 | 1528ms | 28956kb | OK | 10 |
| 9 | 988ms | 28964kb | OK | 10 |
| 10 | 1776ms | 26328kb | OK | 10 |
| Punctaj total | 100 |