Pagini recente » Borderou de evaluare (job #3176886) | Borderou de evaluare (job #3247212) | Borderou de evaluare (job #2166557) | Borderou de evaluare (job #2879293) | Borderou de evaluare (job #1734175)
Borderou de evaluare (job #1734175)
Raport evaluator
Compilare:
user.c:11:1: warning: return type defaults to ‘int’ [enabled by default]
printmare(mare m){int i;if(!m.len)return 0;printf("%d",m.a[m.len-1]);for(i=m.len-1;i--;)printf(MAREPRINTFORMAT,m.a[i]);}
^
user.c:16:1: warning: return type defaults to ‘int’ [enabled by default]
main(){freopen("perm.in","r",stdin);freopen("perm.out","w",stdout);
^
user.c: In function ‘printmare’:
user.c:11:1: warning: control reaches end of non-void function [-Wreturn-type]
printmare(mare m){int i;if(!m.len)return 0;printf("%d",m.a[m.len-1]);for(i=m.len-1;i--;)printf(MAREPRINTFORMAT,m.a[i]);}
^
user.c: In function ‘main’:
user.c:16:15: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("perm.in","r",stdin);freopen("perm.out","w",stdout);
^
user.c:16:44: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("perm.in","r",stdin);freopen("perm.out","w",stdout);
^
user.c:17:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);mare tempm;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Raspuns gresit | 0 |
2 | 0ms | 288kb | Raspuns gresit | 0 |
3 | 0ms | 308kb | Raspuns gresit | 0 |
4 | 0ms | 332kb | Raspuns gresit | 0 |
5 | 12ms | 356kb | Raspuns gresit | 0 |
6 | 0ms | 280kb | Ok! | 10 |
7 | 0ms | 328kb | Raspuns gresit | 0 |
8 | 12ms | 360kb | Raspuns gresit | 0 |
9 | 0ms | 308kb | Raspuns gresit | 0 |
10 | 12ms | 388kb | Raspuns gresit | 0 |
Punctaj total | 10 |