Pagini recente » Borderou de evaluare (job #2892131) | Borderou de evaluare (job #1759045) | Borderou de evaluare (job #2351731) | Borderou de evaluare (job #124003) | Borderou de evaluare (job #1766222)
Borderou de evaluare (job #1766222)
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 | 280kb | OK | 5 |
| 2 | 0ms | 280kb | OK | 5 |
| 3 | 0ms | 284kb | OK | 5 |
| 4 | 0ms | 284kb | OK | 5 |
| 5 | 0ms | 284kb | OK | 5 |
| 6 | 0ms | 292kb | OK | 5 |
| 7 | 0ms | 288kb | OK | 5 |
| 8 | 0ms | 296kb | OK | 5 |
| 9 | 0ms | 316kb | OK | 5 |
| 10 | 0ms | 344kb | OK | 5 |
| 11 | 4ms | 380kb | OK | 5 |
| 12 | 8ms | 404kb | OK | 5 |
| 13 | 4ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 4ms | 444kb | Incorect | 0 |
| 15 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 60 |