Pagini recente » Borderou de evaluare (job #3159886) | Arbsat | Borderou de evaluare (job #3143557) | Borderou de evaluare (job #3226219) | Borderou de evaluare (job #2062337)
Borderou de evaluare (job #2062337)
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:26:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d\n", t[i], l[i]+1);
^
user.cpp:26:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:40:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d ", t[min[1]]);
^
user.cpp:28:6: warning: variable ‘max’ set but not used [-Wunused-but-set-variable]
int max = -1;
^
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "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 | 4ms | 1048kb | Subsir incorect! | 5 | 5 |
| 2 | 12ms | 1052kb | Subsir incorect! | 5 | 5 |
| 3 | 0ms | 1048kb | Subsir incorect! | 5 | 5 |
| 4 | 4ms | 1048kb | Subsir incorect! | 5 | 5 |
| 5 | 4ms | 1052kb | Subsir incorect! | 5 | 5 |
| 6 | 8ms | 1052kb | Subsir incorect! | 5 | 5 |
| 7 | 16ms | 1048kb | Subsir incorect! | 5 | 5 |
| 8 | Depăşit | 1024kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 1028kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1028kb | Time limit exceeded. | 0 |
| Punctaj total | 35 |