Pagini recente » Borderou de evaluare (job #2261419) | Borderou de evaluare (job #1396831) | Cod sursa (job #2129129) | Borderou de evaluare (job #2711107) | Borderou de evaluare (job #1904948)
Borderou de evaluare (job #1904948)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:310:28: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
scanf("%hi %hi", &M, &N);
^
user.cpp:305:11: warning: variable ‘fin’ set but not used [-Wunused-but-set-variable]
FILE *fin, *fout;
^
user.cpp:310:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi %hi", &M, &N);
^
user.cpp:313:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi", &number);
^
user.cpp:334:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("exp.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 284kb | Incorect | 0 |
| 2 | 0ms | 276kb | Incorect | 0 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 284kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 0ms | 280kb | OK | 10 |
| 7 | 0ms | 276kb | OK | 10 |
| 8 | 0ms | 284kb | OK | 10 |
| 9 | 0ms | 284kb | OK | 10 |
| 10 | 0ms | 276kb | OK | 10 |
| Punctaj total | 80 |