Pagini recente » Borderou de evaluare (job #684903) | Borderou de evaluare (job #2462996) | Borderou de evaluare (job #363425) | Profil sabinaioana | Borderou de evaluare (job #2150690)
Borderou de evaluare (job #2150690)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &n);
^
user.cpp:16:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) fscanf(fi,"%d", &v[i]);
^
user.cpp:17:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &k);
^
user.cpp:18:60: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= k; i++){ int x; fscanf(fi,"%d", &x); f[x]++;}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 5320kb | OK | 10 |
| 2 | 4ms | 5324kb | OK | 10 |
| 3 | 28ms | 5656kb | OK | 10 |
| 4 | 12ms | 5472kb | OK | 10 |
| 5 | 4ms | 5320kb | OK | 10 |
| 6 | 24ms | 5464kb | OK | 10 |
| 7 | 48ms | 5632kb | OK | 10 |
| 8 | 44ms | 5628kb | OK | 10 |
| 9 | 36ms | 5716kb | OK | 10 |
| 10 | 4ms | 5324kb | OK | 10 |
| Punctaj total | 100 |