Pagini recente » Borderou de evaluare (job #2836605) | Cod sursa (job #2669737) | Cod sursa (job #751689) | Borderou de evaluare (job #2023158) | Borderou de evaluare (job #1312813)
Borderou de evaluare (job #1312813)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &t);
^
user.cpp:11:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:12:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &spare);
^
user.cpp:13:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &spare);
^
user.cpp:17:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &temp);
^
user.cpp:18:60: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j = 0; j< 2*temp; j++) fscanf(fin, "%d", &spare);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 36ms | 232kb | OK | 10 |
| 2 | 40ms | 228kb | OK | 10 |
| 3 | 40ms | 224kb | OK | 10 |
| 4 | 36ms | 232kb | OK | 10 |
| 5 | 40ms | 228kb | OK | 10 |
| 6 | 40ms | 228kb | OK | 10 |
| 7 | 36ms | 228kb | OK | 10 |
| 8 | 36ms | 232kb | OK | 10 |
| 9 | 36ms | 232kb | OK | 10 |
| 10 | 40ms | 228kb | OK | 10 |
| Punctaj total | 100 |