Pagini recente » Borderou de evaluare (job #883492) | Cod sursa (job #2501509) | Borderou de evaluare (job #1336097) | Borderou de evaluare (job #2234654) | Borderou de evaluare (job #1260493)
Borderou de evaluare (job #1260493)
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 | 264kb | Corect | 10 |
2 | 0ms | 272kb | Corect | 10 |
3 | 0ms | 272kb | Corect | 10 |
4 | 0ms | 268kb | Corect | 10 |
5 | 0ms | 276kb | Corect | 10 |
6 | Depăşit | 6584kb | Time limit exceeded. | 0 |
7 | Depăşit | 6816kb | Time limit exceeded. | 0 |
8 | 396ms | 6536kb | Killed by signal 11(SIGSEGV). | 0 |
9 | Depăşit | 6500kb | Time limit exceeded. | 0 |
10 | Depăşit | 6704kb | Time limit exceeded. | 0 |
Punctaj total | 50 |