Pagini recente » Borderou de evaluare (job #1908829) | Borderou de evaluare (job #1916588) | Borderou de evaluare (job #1204599) | Borderou de evaluare (job #1645986) | Borderou de evaluare (job #1649633)
Borderou de evaluare (job #1649633)
Raport evaluator
Compilare:
user.cpp: In function ‘int fact(int)’:
user.cpp:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int fact1(int)’:
user.cpp:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:29:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(nr2==p && nr55>=p)printf("%d",n);
^
user.cpp:30:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else if(nr5==p && nr22>=p)printf("%d",x);
^
user.cpp:15:30: 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:16:31: 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:17:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Corect! | 5 |
| 2 | 0ms | 284kb | Corect! | 5 |
| 3 | 0ms | 260kb | Corect! | 5 |
| 4 | 0ms | 280kb | Corect! | 5 |
| 5 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 240kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 244kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 240kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |