Pagini recente » Borderou de evaluare (job #2460637) | Borderou de evaluare (job #2744882) | Borderou de evaluare (job #1516527) | Borderou de evaluare (job #762056) | Borderou de evaluare (job #1295111)
Borderou de evaluare (job #1295111)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",a[n]-1);
^
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori4.in","r",stdin);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori4.out","w",stdout);
^
user.cpp:16: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 | 248kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 0ms | 260kb | OK | 10 |
6 | 0ms | 260kb | OK | 10 |
7 | 0ms | 284kb | OK | 10 |
8 | 0ms | 316kb | OK | 10 |
9 | 0ms | 332kb | OK | 10 |
10 | 0ms | 324kb | OK | 10 |
Punctaj total | 100 |