Pagini recente » Borderou de evaluare (job #1046216) | Borderou de evaluare (job #702322) | Borderou de evaluare (job #275581) | Borderou de evaluare (job #571649) | Borderou de evaluare (job #1457137)
Borderou de evaluare (job #1457137)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:38: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 3 has type ‘long double*’ [-Wformat=]
fscanf(fin, "%lf %lf", &x[i], &y[i]);
^
user.cpp:25:38: warning: format ‘%lf’ expects argument of type ‘double*’, but argument 4 has type ‘long double*’ [-Wformat=]
user.cpp:34:37: warning: format ‘%lf’ expects argument of type ‘double’, but argument 3 has type ‘long double’ [-Wformat=]
fprintf(fout, "%.6lf\n", area / 2.0);
^
user.cpp:22:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:25:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lf %lf", &x[i], &y[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | Mai incearca ! | 0 |
2 | 0ms | 308kb | Mai incearca ! | 0 |
3 | 4ms | 336kb | Mai incearca ! | 0 |
4 | 4ms | 336kb | Mai incearca ! | 0 |
5 | 52ms | 552kb | Mai incearca ! | 0 |
6 | 60ms | 580kb | Mai incearca ! | 0 |
7 | Depăşit | 2152kb | Time limit exceeded. | 0 |
8 | Depăşit | 2068kb | Time limit exceeded. | 0 |
9 | Depăşit | 2616kb | Time limit exceeded. | 0 |
10 | Depăşit | 2616kb | Time limit exceeded. | 0 |
Punctaj total | 0 |