Pagini recente » Borderou de evaluare (job #1997107) | Borderou de evaluare (job #2155737) | Borderou de evaluare (job #141793) | Borderou de evaluare (job #169691) | Borderou de evaluare (job #1549532)
Borderou de evaluare (job #1549532)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int solve(long long int)’:
user.cpp:6:15: warning: unused variable ‘p2’ [-Wunused-variable]
long long p2=1,rid=0;
^
user.cpp:6:20: warning: unused variable ‘rid’ [-Wunused-variable]
long long p2=1,rid=0;
^
user.cpp: In function ‘int main()’:
user.cpp:21:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&b);
^
user.cpp:21:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zero2.in","r",stdin);
^
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zero2.out","w",stdout);
^
user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | 10/10 | 10 |
2 | 0ms | 260kb | 10/10 | 10 |
3 | 0ms | 264kb | 10/10 | 10 |
4 | 0ms | 260kb | 10/10 | 10 |
5 | 0ms | 256kb | 10/10 | 10 |
6 | 0ms | 264kb | 10/10 | 10 |
7 | 0ms | 260kb | 10/10 | 10 |
8 | 0ms | 256kb | 10/10 | 10 |
9 | 0ms | 260kb | 10/10 | 10 |
10 | 0ms | 260kb | 10/10 | 10 |
Punctaj total | 100 |