Pagini recente » Borderou de evaluare (job #2413396) | Borderou de evaluare (job #918270) | Borderou de evaluare (job #1005822) | Borderou de evaluare (job #2787523) | Borderou de evaluare (job #562658)
Borderou de evaluare (job #562658)
Raport evaluator
Eroare de compilare:
user.cpp:11:10: error: ‘float y1’ redeclared as different kind of symbol
float x1,y1;
^
In file included from /usr/include/features.h:357:0,
from /usr/include/stdio.h:28,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:243:1: error: previous declaration of ‘double y1(double)’
__MATHCALL (y1,, (_Mdouble_));
^
user.cpp: In function ‘void citire()’:
user.cpp:30:26: warning: format ‘%f’ expects argument of type ‘float*’, but argument 4 has type ‘double (*)(double)throw ()’ [-Wformat=]
fscanf(f,"%f %f",&x1,&y1);
^
user.cpp: In function ‘void solve()’:
user.cpp:52:8: error: cannot convert ‘double(double)throw ()’ to ‘float’ in assignment
S[1].y=y1;
^
user.cpp:68:8: error: cannot convert ‘double(double)throw ()’ to ‘float’ in assignment
A[0].y=y1;
^
user.cpp: In function ‘void citire()’:
user.cpp:30:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%f %f",&x1,&y1);
^
user.cpp:31:19: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:33:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%f %f %d",&A[i].x,&A[i].y,&A[i].ID);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 12kb | raspuns gresit | 0 |
2 | 0ms | 8kb | raspuns gresit | 0 |
3 | 0ms | 12kb | raspuns gresit | 0 |
4 | 0ms | 12kb | raspuns gresit | 0 |
5 | 4ms | 12kb | raspuns gresit | 0 |
6 | 4ms | 12kb | raspuns gresit | 0 |
7 | 0ms | 12kb | raspuns gresit | 0 |
8 | 0ms | 12kb | raspuns gresit | 0 |
9 | 0ms | 12kb | raspuns gresit | 0 |
10 | 4ms | 16kb | raspuns gresit | 0 |
11 | 4ms | 8kb | raspuns gresit | 0 |
12 | 0ms | 8kb | raspuns gresit | 0 |
13 | 0ms | 8kb | raspuns gresit | 0 |
14 | 4ms | 12kb | raspuns gresit | 0 |
15 | 4ms | 12kb | raspuns gresit | 0 |
Punctaj total | 0 |