Pagini recente » Borderou de evaluare (job #2698891) | Borderou de evaluare (job #2800768) | Borderou de evaluare (job #2519438) | Borderou de evaluare (job #1354293) | Borderou de evaluare (job #1260548)
Borderou de evaluare (job #1260548)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26: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:22: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:23: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:24: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:26: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 | 276kb | Corect | 10 |
6 | 124ms | 1828kb | Corect | 10 |
7 | 204ms | 3180kb | Corect | 10 |
8 | 40ms | 868kb | Corect | 10 |
9 | 48ms | 928kb | Corect | 10 |
10 | 180ms | 2756kb | Corect | 10 |
Punctaj total | 100 |