Pagini recente » Borderou de evaluare (job #2313070) | Borderou de evaluare (job #1338866) | Borderou de evaluare (job #2868477) | Borderou de evaluare (job #3292596) | Borderou de evaluare (job #1451281)
Borderou de evaluare (job #1451281)
Raport evaluator
Compilare:
user.cpp: In function ‘void read_data()’:
user.cpp:17:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &N);
^
user.cpp:19:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &P[i]);
^
user.cpp: In function ‘long long int parantezare_optima()’:
user.cpp:42:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("Parantezare optima: %d\n", M[1][N]);
^
user.cpp: In function ‘int main()’:
user.cpp:48:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fopen(OUT, "w"), "%d\n", parantezare_optima());
^
user.cpp: In function ‘void read_data()’:
user.cpp:16:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.cpp:17:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &P[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 2436kb | OK | 10 |
| 2 | 0ms | 2444kb | OK | 10 |
| 3 | 0ms | 2500kb | OK | 10 |
| 4 | 0ms | 2572kb | OK | 10 |
| 5 | 4ms | 2612kb | OK | 10 |
| 6 | 4ms | 2804kb | OK | 10 |
| 7 | 32ms | 3204kb | OK | 10 |
| 8 | 112ms | 3592kb | OK | 10 |
| 9 | 248ms | 3988kb | Incorect | 0 |
| 10 | 500ms | 4376kb | Incorect | 0 |
| Punctaj total | 80 |