Pagini recente » Borderou de evaluare (job #3133826) | Borderou de evaluare (job #1522365) | Borderou de evaluare (job #310927) | Borderou de evaluare (job #288583) | Borderou de evaluare (job #2608195)
Borderou de evaluare (job #2608195)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:8:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long unsigned int*' [-Wformat=]
scanf("%d", &n);
^
main.cpp:16:18: warning: statement has no effect [-Wunused-value]
for(j; j <= n; j += (i << 1))
^
main.cpp:19:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=]
printf("%d ", rez+1);
^
main.cpp:6:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ciur.in", "r", stdin);
^
main.cpp:7:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ciur.out", "w", stdout);
^
main.cpp:8: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 | 5ms | 2097kb | OK | 10 |
2 | 5ms | 2097kb | OK | 10 |
3 | 6ms | 2097kb | OK | 10 |
4 | 11ms | 2097kb | OK | 10 |
5 | 13ms | 2097kb | OK | 10 |
6 | 16ms | 2097kb | OK | 10 |
7 | 17ms | 2097kb | OK | 10 |
8 | 23ms | 2097kb | OK | 10 |
9 | 25ms | 2097kb | OK | 10 |
10 | 27ms | 2097kb | OK | 10 |
Punctaj total | 100 |