Pagini recente » Borderou de evaluare (job #978793) | Borderou de evaluare (job #634704) | Borderou de evaluare (job #132335) | Borderou de evaluare (job #2257465) | Borderou de evaluare (job #2196815)
Borderou de evaluare (job #2196815)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=2;i<=N;++i)
^~~
user.cpp:19:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
printf("%d",c);
^~~~~~
user.cpp:7:33: 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);
^
user.cpp:8:35: 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);
^
user.cpp:9:19: 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 | 756kb | OK | 10 |
2 | 0ms | 864kb | OK | 10 |
3 | 0ms | 804kb | OK | 10 |
4 | 12ms | 1636kb | OK | 10 |
5 | 12ms | 1732kb | OK | 10 |
6 | 20ms | 1980kb | OK | 10 |
7 | 24ms | 2124kb | OK | 10 |
8 | 36ms | 2432kb | OK | 10 |
9 | 40ms | 2516kb | OK | 10 |
10 | 44ms | 2608kb | OK | 10 |
Punctaj total | 100 |