Pagini recente » Borderou de evaluare (job #2766167) | Borderou de evaluare (job #2955011) | Borderou de evaluare (job #745836) | Borderou de evaluare (job #179209) | Borderou de evaluare (job #2036283)
Borderou de evaluare (job #2036283)
Raport evaluator
Compilare:
user.cpp: In function ‘int fct(int)’:
user.cpp:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:31:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
fscanf(fin, "%d", n);
^
user.cpp:20:12: warning: unused variable ‘m’ [-Wunused-variable]
int n, m, c, i, vf, cc, j,afost,sir, t, n1, x;
^
user.cpp:20:15: warning: unused variable ‘c’ [-Wunused-variable]
int n, m, c, i, vf, cc, j,afost,sir, t, n1, x;
^
user.cpp:20:21: warning: unused variable ‘vf’ [-Wunused-variable]
int n, m, c, i, vf, cc, j,afost,sir, t, n1, x;
^
user.cpp:20:25: warning: unused variable ‘cc’ [-Wunused-variable]
int n, m, c, i, vf, cc, j,afost,sir, t, n1, x;
^
user.cpp:21:10: warning: unused variable ‘ch’ [-Wunused-variable]
char ch;
^
user.cpp:22:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &t, &n1);
^
user.cpp:25:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
user.cpp:31:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", n);
^
user.cpp:33:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[j]);
^
user.cpp:31:29: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fscanf(fin, "%d", n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |