Pagini recente » Borderou de evaluare (job #2052776) | Borderou de evaluare (job #2135875) | Borderou de evaluare (job #1003372) | Borderou de evaluare (job #1298998) | Borderou de evaluare (job #1201910)
Borderou de evaluare (job #1201910)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:25: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%I64u\n",rez);
^
user.cpp:8:12: warning: unused variable ‘init’ [-Wunused-variable]
int n, init, dif, i, j;
^
user.cpp:8:18: warning: unused variable ‘dif’ [-Wunused-variable]
int n, init, dif, i, j;
^
user.cpp:8:23: warning: unused variable ‘i’ [-Wunused-variable]
int n, init, dif, i, j;
^
user.cpp:8:26: warning: unused variable ‘j’ [-Wunused-variable]
int n, init, dif, i, j;
^
user.cpp:5:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte2.in", "r", stdin);
^
user.cpp:6:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puncte2.out", "w", stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 0ms | 264kb | Incorect | 0 |
7 | 0ms | 268kb | Incorect | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 272kb | Incorect | 0 |
10 | 0ms | 272kb | Incorect | 0 |
Punctaj total | 0 |