Pagini recente » Borderou de evaluare (job #1015267) | Borderou de evaluare (job #513268) | Borderou de evaluare (job #1238459) | Borderou de evaluare (job #1475431) | Borderou de evaluare (job #1639791)
Borderou de evaluare (job #1639791)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:4:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in","r",stdin);
^
user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out","w",stdout);
^
user.cpp:7:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
user.cpp:9:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val);
^
user.cpp:19:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&poz,&val);
^
user.cpp:32:17: warning: ‘elem’ may be used uninitialized in this function [-Wmaybe-uninitialized]
s=v[elem]-v[poz-1];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 4ms | 268kb | OK | 10 |
| 4 | 8ms | 272kb | OK | 10 |
| 5 | 8ms | 264kb | OK | 10 |
| 6 | 8ms | 276kb | OK | 10 |
| 7 | 8ms | 320kb | OK | 10 |
| 8 | 12ms | 348kb | OK | 10 |
| 9 | 12ms | 364kb | OK | 10 |
| 10 | 12ms | 376kb | OK | 10 |
| Punctaj total | 100 |