Pagini recente » Borderou de evaluare (job #331493) | Borderou de evaluare (job #1811022) | Borderou de evaluare (job #2110007) | Borderou de evaluare (job #3243506) | Borderou de evaluare (job #1999194)
Borderou de evaluare (job #1999194)
Raport evaluator
Compilare:
user.cpp:4:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){
^
user.cpp: In function ‘int main()’:
user.cpp:25:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(no==P) printf("%d\n",st);
^
user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.in","r",stdin);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.out","w",stdout);
^
user.cpp:8:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&P);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | Corect! | 5 |
2 | 0ms | 436kb | Corect! | 5 |
3 | 0ms | 420kb | Corect! | 5 |
4 | 0ms | 436kb | Corect! | 5 |
5 | 0ms | 436kb | Corect! | 5 |
6 | 0ms | 432kb | Corect! | 5 |
7 | 0ms | 428kb | Corect! | 5 |
8 | 0ms | 436kb | Corect! | 5 |
9 | 0ms | 432kb | Corect! | 5 |
10 | 0ms | 432kb | Corect! | 5 |
11 | 0ms | 436kb | Corect! | 5 |
12 | 0ms | 428kb | Corect! | 5 |
13 | 0ms | 428kb | Corect! | 5 |
14 | 0ms | 432kb | Corect! | 5 |
15 | 0ms | 424kb | Corect! | 5 |
16 | 0ms | 436kb | Corect! | 5 |
17 | 0ms | 436kb | Corect! | 5 |
18 | 0ms | 428kb | Corect! | 5 |
19 | 0ms | 432kb | Corect! | 5 |
20 | 0ms | 436kb | Corect! | 5 |
Punctaj total | 100 |