Pagini recente » Borderou de evaluare (job #1802623) | Borderou de evaluare (job #2881654) | Borderou de evaluare (job #2889361) | Borderou de evaluare (job #996182) | Borderou de evaluare (job #1986238)
Borderou de evaluare (job #1986238)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:22: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
printf("%.6lf\n", 0);
^
user.cpp:53:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sieve.in", "r", stdin);
^
user.cpp:54:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sieve.out", "w", stdout);
^
user.cpp:61:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:63:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 436ms | 1628kb | Incorect | 0 |
Punctaj total | 0 |