Pagini recente » Borderou de evaluare (job #2612657) | Borderou de evaluare (job #2431591) | Borderou de evaluare (job #3271212) | Borderou de evaluare (job #2971846) | Borderou de evaluare (job #1438118)
Borderou de evaluare (job #1438118)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:29:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",m);
^
user.c:46:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",suma);
^
user.c:47:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d ",suma);
^
user.c:17:21: warning: unused variable ‘k’ [-Wunused-variable]
long long i,p,j,k,m,suma=0;
^
user.c:17:19: warning: unused variable ‘j’ [-Wunused-variable]
long long i,p,j,k,m,suma=0;
^
user.c:20:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&p);
^
user.c:17:23: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long long i,p,j,k,m,suma=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 264kb | Raspuns incorect | 0 |
4 | 0ms | 272kb | Corect! | 5 |
5 | 0ms | 268kb | Raspuns incorect | 0 |
6 | 0ms | 268kb | Raspuns incorect | 0 |
7 | 0ms | 268kb | Corect! | 5 |
8 | 0ms | 268kb | Corect! | 5 |
9 | 0ms | 268kb | Corect! | 5 |
10 | 0ms | 268kb | Corect! | 5 |
11 | 0ms | 272kb | Corect! | 5 |
12 | 0ms | 272kb | Corect! | 5 |
13 | 0ms | 268kb | Corect! | 5 |
14 | 0ms | 264kb | Raspuns incorect | 0 |
15 | 0ms | 268kb | Raspuns incorect | 0 |
16 | 0ms | 268kb | Corect! | 5 |
17 | 0ms | 272kb | Corect! | 5 |
18 | 0ms | 268kb | Corect! | 5 |
19 | 0ms | 272kb | Corect! | 5 |
20 | 0ms | 268kb | Corect! | 5 |
Punctaj total | 65 |