Pagini recente » Borderou de evaluare (job #2656563) | Borderou de evaluare (job #365907) | Borderou de evaluare (job #265840) | Borderou de evaluare (job #2415208) | Borderou de evaluare (job #1553126)
Borderou de evaluare (job #1553126)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
if (!valst) printf("%d\n",st);
^
user.cpp:27:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
else if (!valdr) printf("%d\n",dr);
^
user.cpp:6:77: warning: unused variable ‘ok’ [-Wunused-variable]
float a[11], st=-20, dr=20, valst=0, valdr=0, valm=0, m; int n, i; bool ok=false;
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radacina.in","r",stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radacina.out","w",stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:10:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0; i<=n; i++) scanf("%f",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 300kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 304kb | Time limit exceeded. | 0 |
3 | Depăşit | 304kb | Time limit exceeded. | 0 |
4 | Depăşit | 304kb | Time limit exceeded. | 0 |
5 | Depăşit | 308kb | Time limit exceeded. | 0 |
6 | Depăşit | 304kb | Time limit exceeded. | 0 |
7 | Depăşit | 304kb | Time limit exceeded. | 0 |
8 | Depăşit | 300kb | Time limit exceeded. | 0 |
9 | Depăşit | 300kb | Time limit exceeded. | 0 |
10 | Depăşit | 308kb | Time limit exceeded. | 0 |
Punctaj total | 0 |