Pagini recente » Borderou de evaluare (job #791528) | Borderou de evaluare (job #56993) | Borderou de evaluare (job #2732438) | Borderou de evaluare (job #2643436) | Borderou de evaluare (job #1450579)
Borderou de evaluare (job #1450579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:22: warning: format ‘%d’ expects a matching ‘int*’ argument [-Wformat=]
scanf("%d%d\n",&n);
^
user.cpp:13:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
for(i=0;i<n;i++) printf("%ld ",v[i]);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.in","r",stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.out","w",stdout);
^
user.cpp:10:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 20 |
2 | 0ms | 260kb | OK | 20 |
3 | 0ms | 264kb | OK | 20 |
4 | 4ms | 264kb | OK | 20 |
5 | 64ms | 264kb | OK | 20 |
Punctaj total | 100 |