Pagini recente » Borderou de evaluare (job #1742187) | Borderou de evaluare (job #151026) | Cod sursa (job #684099) | Cod sursa (job #2373345) | Borderou de evaluare (job #1932670)
Borderou de evaluare (job #1932670)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:27: 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:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:22:29: 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:28: 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:30: 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 | 288kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 52ms | 1824kb | OK | 10 |
| 6 | 36ms | 1824kb | OK | 10 |
| 7 | 36ms | 1824kb | OK | 10 |
| 8 | 52ms | 1824kb | OK | 10 |
| 9 | 52ms | 1820kb | OK | 10 |
| 10 | 52ms | 1824kb | OK | 10 |
| Punctaj total | 100 |