Pagini recente » Borderou de evaluare (job #373157) | Borderou de evaluare (job #2380911) | Borderou de evaluare (job #1957338) | Borderou de evaluare (job #1130163) | Borderou de evaluare (job #1252844)
Borderou de evaluare (job #1252844)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:19:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=]
scanf("%d %d %d", &a, &b, &c);
^
user.c:19:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
user.c:19:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long long int *’ [-Wformat=]
user.c:28:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("rezultat = %d\n", rezultat);
^
user.c:15:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("classictask.in", "r", stdin);
^
user.c:16:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("classictask.out", "w", stdout);
^
user.c:19:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &c);
^
user.c:7:15: warning: ‘rezultat’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (b % 2==1) aux=(aux+a) % c;
^
user.c:18:25: note: ‘rezultat’ was declared here
long long a, b, c, rezultat;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 260kb | Incorect | 0 | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 260kb | Incorect | 0 |
6 | 0ms | 260kb | Incorect | 0 |
7 | 0ms | 252kb | Incorect | 0 |
8 | 0ms | 256kb | Incorect | 0 |
9 | 0ms | 256kb | Incorect | 0 |
10 | 0ms | 256kb | Incorect | 0 |
Punctaj total | 0 |