Pagini recente » Diferente pentru problema/progresie intre reviziile 2 si 1 | Borderou de evaluare (job #1119464) | Autentificare | Borderou de evaluare (job #2635401) | Borderou de evaluare (job #2162751)
Borderou de evaluare (job #2162751)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d %d", &n, &k);
^
user.cpp:29:89: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &p_seq_ends[n_seq++]), s = (s + p_seq_ends[n_seq - 1]) % k;
^
user.cpp:32:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1244kb | OK | 10 |
| 2 | 8ms | 1356kb | OK | 10 |
| 3 | 24ms | 1336kb | OK | 10 |
| 4 | 32ms | 1256kb | OK | 10 |
| 5 | 36ms | 1276kb | OK | 10 |
| 6 | 16ms | 1368kb | OK | 10 |
| 7 | 28ms | 1372kb | OK | 10 |
| 8 | 36ms | 1440kb | OK | 10 |
| 9 | 36ms | 1476kb | OK | 10 |
| 10 | 40ms | 1436kb | OK | 10 |
| Punctaj total | 100 |