Pagini recente » Borderou de evaluare (job #837872) | Borderou de evaluare (job #2097005) | Borderou de evaluare (job #992287) | Borderou de evaluare (job #1774945) | Borderou de evaluare (job #1260500)
Borderou de evaluare (job #1260500)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:45: 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:28: 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:30: 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:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:25:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:32:46: 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 | 264kb | Corect | 10 |
3 | 0ms | 272kb | Corect | 10 |
4 | 0ms | 272kb | Corect | 10 |
5 | 0ms | 272kb | Corect | 10 |
6 | 116ms | 1832kb | Corect | 10 |
7 | 208ms | 3184kb | Corect | 10 |
8 | 40ms | 868kb | Corect | 10 |
9 | 48ms | 928kb | Corect | 10 |
10 | 180ms | 2756kb | Corect | 10 |
Punctaj total | 100 |