Pagini recente » Borderou de evaluare (job #3195162) | Borderou de evaluare (job #2387958) | Borderou de evaluare (job #2381473) | Borderou de evaluare (job #810357) | Borderou de evaluare (job #1675769)
Borderou de evaluare (job #1675769)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("geamuri.in","r",stdin);
^
user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("geamuri.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:18:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&x1,&y1,&x2,&y2);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:31:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=q;i++) { scanf("%d",&x); printf("%d\n",v[x]);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 524kb | OK | 10 |
2 | 0ms | 788kb | OK | 10 |
3 | 8ms | 1300kb | OK | 10 |
4 | 16ms | 1304kb | OK | 10 |
5 | 28ms | 2344kb | OK | 10 |
6 | 48ms | 2344kb | OK | 10 |
7 | 64ms | 4416kb | OK | 10 |
8 | 68ms | 4420kb | OK | 10 |
9 | 68ms | 4564kb | OK | 10 |
10 | 72ms | 4588kb | OK | 10 |
Punctaj total | 100 |