Pagini recente » Borderou de evaluare (job #1336653) | Borderou de evaluare (job #319478) | Cod sursa (job #2906879) | Borderou de evaluare (job #766598) | Borderou de evaluare (job #1260441)
Borderou de evaluare (job #1260441)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&a[i].n1,&a[i].n2,&a[i].val);
^
user.cpp:22:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:22:51: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:17: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:18: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:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&nr,&n);
^
user.cpp:22:52: 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 | 276kb | Corect | 10 |
| 5 | 0ms | 276kb | Corect | 10 |
| 6 | Depăşit | 2972kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 2976kb | Time limit exceeded. | 0 |
| 8 | 304ms | 2992kb | Cost incorect | 0 |
| 9 | Depăşit | 2968kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 2976kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |