Pagini recente » Borderou de evaluare (job #2898632) | Borderou de evaluare (job #2796331) | Borderou de evaluare (job #1345183) | Borderou de evaluare (job #565465) | Borderou de evaluare (job #1260542)
Borderou de evaluare (job #1260542)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:49: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d",&a[i].x,&a[i].y,&a[i].c);
^
user.cpp:21:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.in","r",stdin);
^
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apm.out","w",stdout);
^
user.cpp:23:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:25:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a[i].x,&a[i].y,&a[i].c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Corect | 10 |
2 | 0ms | 272kb | Corect | 10 |
3 | 0ms | 276kb | Corect | 10 |
4 | 0ms | 272kb | Corect | 10 |
5 | 0ms | 272kb | Corect | 10 |
6 | 116ms | 1828kb | Corect | 10 |
7 | 212ms | 3184kb | Corect | 10 |
8 | 40ms | 876kb | Corect | 10 |
9 | 48ms | 928kb | Corect | 10 |
10 | 188ms | 2760kb | Corect | 10 |
Punctaj total | 100 |