Pagini recente » Borderou de evaluare (job #2333732) | Borderou de evaluare (job #3224945) | Borderou de evaluare (job #793619) | Borderou de evaluare (job #1013556) | Borderou de evaluare (job #1859700)
Borderou de evaluare (job #1859700)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:63: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d",cost+n+n+1+2*(mas-mi)-mas-mi,1ll<<(s+1));
^
user.cpp:43:52: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d",cost+n+n+1-mas-mi,1ll<<s);
^
user.cpp:45:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d",cost,1ll<<s);
^
user.cpp:5:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard5.in","r",stdin);
^
user.cpp:6:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard5.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Raspuns gresit! | 0 |
2 | 0ms | 256kb | Raspuns gresit! | 0 |
3 | 0ms | 260kb | Raspuns gresit! | 0 |
4 | 0ms | 260kb | Raspuns gresit! | 0 |
5 | 0ms | 260kb | Doar numarul de permutari gresit! | 5 |
6 | 0ms | 260kb | Raspuns gresit! | 0 |
7 | 0ms | 256kb | Doar numarul de permutari gresit! | 5 |
8 | 0ms | 260kb | Raspuns gresit! | 0 |
9 | 0ms | 264kb | Raspuns gresit! | 0 |
10 | 0ms | 260kb | Raspuns gresit! | 0 |
Punctaj total | 10 |