Pagini recente » Borderou de evaluare (job #1436895) | Borderou de evaluare (job #953323) | Borderou de evaluare (job #1247819) | Borderou de evaluare (job #2068470) | Borderou de evaluare (job #1260552)
Borderou de evaluare (job #1260552)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d",&a[i].n1,&a[i].n2,&a[i].val);
^
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:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:33:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a[i].n1,&a[i].n2,&a[i].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Corect | 10 |
2 | 0ms | 272kb | Corect | 10 |
3 | 0ms | 268kb | Corect | 10 |
4 | 0ms | 272kb | Corect | 10 |
5 | 0ms | 276kb | Corect | 10 |
6 | 112ms | 1828kb | Corect | 10 |
7 | 208ms | 3184kb | Corect | 10 |
8 | 40ms | 876kb | Corect | 10 |
9 | 48ms | 928kb | Corect | 10 |
10 | 176ms | 2752kb | Corect | 10 |
Punctaj total | 100 |