Pagini recente » Borderou de evaluare (job #1921250) | Borderou de evaluare (job #1921901) | Borderou de evaluare (job #452834) | Borderou de evaluare (job #439557) | Borderou de evaluare (job #1354009)
Borderou de evaluare (job #1354009)
Raport evaluator
Compilare:
user.c: In function ‘euclid’:
user.c:2:6: warning: type of ‘a’ defaults to ‘int’ [enabled by default]
long euclid(a,b){
^
user.c:2:6: warning: type of ‘b’ defaults to ‘int’ [enabled by default]
user.c:3:13: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if((a&b==0)||(b%a==0))
^
user.c: In function ‘main’:
user.c:14:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(in,"%d\n",&n);
^
user.c:17:16: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=]
fscanf(in,"%d %d",&a,&b);
^
user.c:17:16: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long int *’ [-Wformat=]
user.c:18:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(out,"%d\n",euclid(a,b));
^
user.c:14:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d\n",&n);
^
user.c:17:22: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d %d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 168kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 168kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 172kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |