Pagini recente » Borderou de evaluare (job #3190170) | Borderou de evaluare (job #1663753) | Borderou de evaluare (job #2790025) | Borderou de evaluare (job #2710890) | Borderou de evaluare (job #1989990)
Borderou de evaluare (job #1989990)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:78: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
if( floor( sqrt(n) )== sqrt(n)) printf("%d \n", 4*floor( sqrt(n) )); else
^
user.cpp:16:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=]
printf("%d \n", 4*floor( sqrt(n) )+2) ;
^
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chiftea.in", "r", stdin);
^
user.cpp:8:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("chiftea.out", "w", stdout);
^
user.cpp:9:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int t; scanf("%d", &t);
^
user.cpp:13:27: 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 | 60ms | 276kb | Incorect | 0 |
2 | 60ms | 272kb | Incorect | 0 |
3 | 60ms | 280kb | Incorect | 0 |
4 | 60ms | 268kb | Incorect | 0 |
5 | 60ms | 276kb | Incorect | 0 |
6 | 60ms | 268kb | Incorect | 0 |
7 | 60ms | 272kb | Incorect | 0 |
8 | 60ms | 268kb | Incorect | 0 |
9 | 60ms | 272kb | Incorect | 0 |
10 | 60ms | 264kb | Incorect | 0 |
Punctaj total | 0 |