Pagini recente » Cod sursa (job #1901094) | Borderou de evaluare (job #2534521) | Borderou de evaluare (job #1513478) | Borderou de evaluare (job #3141551) | Borderou de evaluare (job #1931171)
Borderou de evaluare (job #1931171)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(IN,"%d%d",&K,&N);
^
user.cpp:19:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:22:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(IN,"%d",&v[i]);
^
user.cpp:19:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&K,&N);
^
user.cpp:22:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&v[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| ✓ | 1 | 0ms | 284kb | OK | 10 |
| ✗ | 2 | 0ms | 280kb | OK | 10 |
| ✗ | 3 | 0ms | 284kb | OK | 10 |
| ✗ | 4 | 0ms | 288kb | OK | 10 |
| ✓ | 5 | 52ms | 1820kb | OK | 10 |
| ✗ | 6 | 40ms | 1828kb | OK | 10 |
| ✗ | 7 | 36ms | 1824kb | OK | 10 |
| ✗ | 8 | 52ms | 1828kb | OK | 10 |
| ✓ | 9 | 48ms | 1824kb | OK | 10 |
| ✗ | 10 | 52ms | 1820kb | OK | 10 |
| Punctaj total | 100 |