Pagini recente » Borderou de evaluare (job #420367) | Borderou de evaluare (job #2537318) | Borderou de evaluare (job #1920245) | Borderou de evaluare (job #1990473) | Borderou de evaluare (job #1685851)
Borderou de evaluare (job #1685851)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
fscanf(f, "%d", &h[i]);
^
user.cpp:50:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d %d", &N, &K, &S);
^
user.cpp:52:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &h[i]);
^
user.cpp:122:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("telecab.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Corect ! | 10 |
2 | 0ms | 284kb | Corect ! | 10 |
3 | 0ms | 288kb | Corect ! | 10 |
4 | 0ms | 288kb | Corect ! | 10 |
5 | 0ms | 280kb | Corect ! | 10 |
6 | 8ms | 472kb | Corect ! | 10 |
7 | 16ms | 684kb | Corect ! | 10 |
8 | 20ms | 764kb | Corect ! | 10 |
9 | 20ms | 784kb | Corect ! | 10 |
10 | 20ms | 804kb | Corect ! | 10 |
Punctaj total | 100 |