Pagini recente » Cod sursa (job #3230478) | Cod sursa (job #2345877) | Borderou de evaluare (job #2131717) | Cod sursa (job #713634) | Borderou de evaluare (job #1546280)
Borderou de evaluare (job #1546280)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d%d", n[i],n[i+1]);
^
user.cpp:12:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:6:33: warning: unused variable ‘x’ [-Wunused-variable]
int n[100],i,max1,max2,max3,x,numarul,s,m,max5;
^
user.cpp:6:35: warning: variable ‘numarul’ set but not used [-Wunused-but-set-variable]
int n[100],i,max1,max2,max3,x,numarul,s,m,max5;
^
user.cpp:4:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie.in","r",stdin);
^
user.cpp:5:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie.out","w",stdout);
^
user.cpp:7:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:12:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", n[i],n[i+1]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |