Pagini recente » Borderou de evaluare (job #707916) | Borderou de evaluare (job #2710549) | Borderou de evaluare (job #424016) | Borderou de evaluare (job #134114) | Borderou de evaluare (job #1349385)
Borderou de evaluare (job #1349385)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&mat[i][j]);
^
user.cpp:53:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:46:20: warning: variable ‘max’ set but not used [-Wunused-but-set-variable]
int i, j, ind, max, sum = 0;
^
user.cpp:44:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in","r",stdin);
^
user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.out","w",stdout);
^
user.cpp:47:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:50:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&mat[i][j]);
^
user.cpp:51:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OKAY! | 10 |
2 | 0ms | 296kb | Raspuns gresit! | 0 |
3 | 0ms | 284kb | Raspuns gresit! | 0 |
4 | 0ms | 300kb | Raspuns gresit! | 0 |
5 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 324kb | Raspuns gresit! | 0 |
7 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 396kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 376kb | OKAY! | 10 |
10 | 0ms | 276kb | OKAY! | 10 |
Punctaj total | 30 |