Pagini recente » Cod sursa (job #910952) | Cod sursa (job #35641) | Borderou de evaluare (job #2336921) | Borderou de evaluare (job #1138266) | Borderou de evaluare (job #2240866)
Borderou de evaluare (job #2240866)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d", &b[i].val, &b[i].prob);
^
user.cpp:26:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:65:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d", a);printf("/");printf("%I64d",bb);
^
user.cpp:65:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d", a);printf("/");printf("%I64d",bb);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("porcjoc.in", "r", stdin);
^
user.cpp:22:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("porcjoc.out", "w", stdout);
^
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:26:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d", &b[i].val, &b[i].prob);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 116ms | 16732kb | Incorect | 0 |
| 2 | 116ms | 16732kb | Incorect | 0 |
| 3 | 136ms | 16748kb | Incorect | 0 |
| 4 | 328ms | 16892kb | Incorect | 0 |
| 5 | Depăşit | 17508kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 17832kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 17840kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 17832kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 17836kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 17832kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |