Pagini recente » Borderou de evaluare (job #2174792) | Borderou de evaluare (job #1009524) | Borderou de evaluare (job #190920) | Borderou de evaluare (job #742004) | Borderou de evaluare (job #2608192)
Borderou de evaluare (job #2608192)
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)
^
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 | 14ms | 2097kb | OK | 10 |
5 | 15ms | 2097kb | OK | 10 |
6 | 19ms | 2097kb | OK | 10 |
7 | 23ms | 2097kb | OK | 10 |
8 | 31ms | 2097kb | OK | 10 |
9 | 34ms | 2097kb | OK | 10 |
10 | 38ms | 2097kb | OK | 10 |
Punctaj total | 100 |