Pagini recente » Borderou de evaluare (job #1397016) | Borderou de evaluare (job #1430701) | Borderou de evaluare (job #415362) | Borderou de evaluare (job #224247) | Borderou de evaluare (job #2062341)
Borderou de evaluare (job #2062341)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &t[i]);
^
user.cpp:37:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", t[min[1]]);
^
user.cpp:25:6: warning: variable ‘max’ set but not used [-Wunused-but-set-variable]
int max = -1;
^
user.cpp:7:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("in.txt", "r", stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
user.cpp:9:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1012kb | Lungime incorecta! | 0 | 0 |
2 | 0ms | 1016kb | Lungime incorecta! | 0 | 0 |
3 | 0ms | 1012kb | Lungime incorecta! | 0 | 0 |
4 | 0ms | 1012kb | Lungime incorecta! | 0 | 0 |
5 | 0ms | 1016kb | Lungime incorecta! | 0 | 0 |
6 | 0ms | 1008kb | Lungime incorecta! | 0 | 0 |
7 | 0ms | 1012kb | Lungime incorecta! | 0 | 0 |
8 | 0ms | 1016kb | Lungime incorecta! | 0 | 0 |
9 | 0ms | 1012kb | Lungime incorecta! | 0 |
10 | 0ms | 1016kb | Lungime incorecta! | 0 |
Punctaj total | 0 |