Pagini recente » Borderou de evaluare (job #3278050) | Borderou de evaluare (job #1744398) | Borderou de evaluare (job #166371) | Borderou de evaluare (job #3167230) | Borderou de evaluare (job #1766226)
Borderou de evaluare (job #1766226)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:39:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:45:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&pi[i]);
^
user.cpp: In function ‘void afisare()’:
user.cpp:61:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",pf[i]);
^
user.cpp: In function ‘void citire()’:
user.cpp:39:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:45:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&pi[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:66:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("schi.in","r",stdin);
^
user.cpp:67:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("schi.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 5 |
2 | 0ms | 280kb | OK | 5 |
3 | 0ms | 276kb | OK | 5 |
4 | 0ms | 280kb | OK | 5 |
5 | 0ms | 284kb | OK | 5 |
6 | 0ms | 288kb | OK | 5 |
7 | 0ms | 292kb | OK | 5 |
8 | 0ms | 292kb | OK | 5 |
9 | 0ms | 312kb | OK | 5 |
10 | 0ms | 340kb | OK | 5 |
11 | 4ms | 376kb | OK | 5 |
12 | 8ms | 404kb | OK | 5 |
13 | 4ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 4ms | 436kb | Incorect | 0 |
15 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 60 |