Pagini recente » Borderou de evaluare (job #3283031) | Borderou de evaluare (job #3130274) | Borderou de evaluare (job #1535954) | Borderou de evaluare (job #1719297) | Borderou de evaluare (job #1842077)
Borderou de evaluare (job #1842077)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:189:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("volei.in","r", stdin);
^
user.cpp:190:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("volei.out", "w", stdout);
^
user.cpp:195:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &D);
^
user.cpp:199:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp: In function ‘bool getType()’:
user.cpp:165:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:166:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
while(c != 'F' && c != 'B') scanf("%c", &c);
^
user.cpp: In function ‘void bkt(int)’:
user.cpp:110:12: warning: ‘b2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x = 1.0*(b2 - b1)/(a1-a2);
^
user.cpp:74:24: note: ‘b2’ was declared here
double a1, a2, b1, b2, x, y;
^
user.cpp:110:26: warning: ‘a2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
x = 1.0*(b2 - b1)/(a1-a2);
^
user.cpp:74:16: note: ‘a2’ was declared here
double a1, a2, b1, b2, x, y;
^
user.cpp:111:18: warning: ‘b1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
y = x*a1 + b1;
^
user.cpp:74:20: note: ‘b1’ was declared here
double a1, a2, b1, b2, x, y;
^
user.cpp:111:10: warning: ‘a1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
y = x*a1 + b1;
^
user.cpp:74:12: note: ‘a1’ was declared here
double a1, a2, b1, b2, x, y;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | Ok! | 10 |
2 | 0ms | 304kb | Ok! | 10 |
3 | 0ms | 332kb | Ok! | 10 |
4 | 4ms | 336kb | Ok! | 10 |
5 | 12ms | 340kb | Ok! | 10 |
6 | 0ms | 288kb | Ok! | 10 |
7 | 12ms | 340kb | Ok! | 10 |
8 | 20ms | 340kb | Ok! | 10 |
9 | 4ms | 324kb | Ok! | 10 |
10 | 24ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 90 |