Pagini recente » Cod sursa (job #2755331) | Cod sursa (job #86327) | Cod sursa (job #768554) | Borderou de evaluare (job #3339521) | Borderou de evaluare (job #1904957)
Borderou de evaluare (job #1904957)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:309:28: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hi %hi", &M, &N);
^
user.cpp:309:28: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:312:29: warning: format ‘%hi’ expects argument of type ‘short int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%hi", &number);
^
user.cpp:304:11: warning: variable ‘fin’ set but not used [-Wunused-but-set-variable]
FILE *fin, *fout;
^
user.cpp:309: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:312:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hi", &number);
^
user.cpp:333: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 | 280kb | Incorect | 0 |
| 2 | 0ms | 284kb | Incorect | 0 |
| 3 | 0ms | 280kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 0ms | 280kb | OK | 10 |
| 6 | 0ms | 284kb | OK | 10 |
| 7 | 0ms | 280kb | OK | 10 |
| 8 | 0ms | 284kb | OK | 10 |
| 9 | 0ms | 280kb | OK | 10 |
| 10 | 0ms | 280kb | OK | 10 |
| Punctaj total | 80 |