Pagini recente » Borderou de evaluare (job #623974) | Borderou de evaluare (job #2926590) | Borderou de evaluare (job #889793) | Borderou de evaluare (job #1876204) | Borderou de evaluare (job #1739510)
Borderou de evaluare (job #1739510)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:15: warning: unused variable ‘x’ [-Wunused-variable]
int i, j, x, y, t, d;
^
user.cpp:24:18: warning: unused variable ‘y’ [-Wunused-variable]
int i, j, x, y, t, d;
^
user.cpp:24:21: warning: unused variable ‘t’ [-Wunused-variable]
int i, j, x, y, t, d;
^
user.cpp:24:24: warning: unused variable ‘d’ [-Wunused-variable]
int i, j, x, y, t, d;
^
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.in","r",stdin);
^
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.out","w",stdout);
^
user.cpp:26:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:29:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].a[0],&v[i].valori);
^
user.cpp:31:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i].a[j]);
^
user.cpp:35:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f",&preturi[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 324kb | OK | 10 |
2 | 0ms | 320kb | OK | 10 |
3 | 0ms | 324kb | OK | 10 |
4 | 0ms | 324kb | OK | 10 |
5 | 0ms | 324kb | OK | 10 |
6 | 0ms | 328kb | OK | 10 |
7 | 0ms | 328kb | OK | 10 |
8 | 0ms | 328kb | OK | 10 |
9 | 0ms | 324kb | OK | 10 |
10 | 0ms | 324kb | OK | 10 |
Punctaj total | 100 |