Pagini recente » Borderou de evaluare (job #2817887) | Borderou de evaluare (job #2085354) | Borderou de evaluare (job #2032904) | Borderou de evaluare (job #3237911) | Borderou de evaluare (job #1766219)
Borderou de evaluare (job #1766219)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:37:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:40: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:59: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:37:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:40: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:64: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:65: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 | 280kb | OK | 5 |
| 4 | 0ms | 280kb | OK | 5 |
| 5 | 0ms | 288kb | OK | 5 |
| 6 | 0ms | 292kb | OK | 5 |
| 7 | 0ms | 292kb | OK | 5 |
| 8 | 0ms | 300kb | OK | 5 |
| 9 | 0ms | 312kb | OK | 5 |
| 10 | 4ms | 336kb | OK | 5 |
| 11 | 4ms | 384kb | OK | 5 |
| 12 | 8ms | 408kb | OK | 5 |
| 13 | 4ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 4ms | 436kb | Incorect | 0 |
| 15 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 60 |