Pagini recente » Borderou de evaluare (job #969149) | Borderou de evaluare (job #1975520) | Borderou de evaluare (job #931395) | Borderou de evaluare (job #500420) | Borderou de evaluare (job #1742946)
Borderou de evaluare (job #1742946)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d", &s , &n, &c);
^
user.cpp:18:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:18:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &v[i].l, &v[i].p);
^
user.cpp:20:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.in", "r", stdin);
^
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sant.out", "w", stdout);
^
user.cpp:18:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &s , &n, &c);
^
user.cpp:20:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &v[i].l, &v[i].p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 372kb | OK | 10 |
6 | 0ms | 408kb | OK | 10 |
7 | 0ms | 468kb | OK | 10 |
8 | 4ms | 640kb | OK | 10 |
9 | 8ms | 672kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |