Pagini recente » Borderou de evaluare (job #3164230) | Borderou de evaluare (job #1914451) | Borderou de evaluare (job #1751886) | Borderou de evaluare (job #862062) | Borderou de evaluare (job #1591222)
Borderou de evaluare (job #1591222)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d\n",&min[1],&max[1]);
^
user.cpp:13:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:18:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d\n",&min[i],&max[i]);
^
user.cpp:18:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactivi.in","r",stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reactivi.out","w",stdout);
^
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:13:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&min[1],&max[1]);
^
user.cpp:18:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&min[i],&max[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | Incorect | 0 | 0 |
2 | 0ms | 284kb | Incorect | 0 | 0 |
3 | 0ms | 284kb | Incorect | 0 | 0 |
4 | 4ms | 336kb | OK | 10 | 10 |
5 | 0ms | 312kb | Incorect | 0 | 0 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 344kb | OK | 10 |
8 | 0ms | 284kb | Incorect | 0 |
9 | 28ms | 340kb | Incorect | 0 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 10 |