Pagini recente » Borderou de evaluare (job #586532) | Borderou de evaluare (job #2466057) | Borderou de evaluare (job #52559) | Borderou de evaluare (job #1256029) | Borderou de evaluare (job #1349401)
Borderou de evaluare (job #1349401)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&mat[i][j]);
^
user.cpp:54:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:47:20: warning: variable ‘max’ set but not used [-Wunused-but-set-variable]
int i, j, ind, max, sum = 0;
^
user.cpp:45: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:46: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:48:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:51: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:52:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:54: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 | 284kb | OKAY! | 10 |
2 | 0ms | 284kb | Raspuns gresit! | 0 |
3 | 0ms | 288kb | Raspuns gresit! | 0 |
4 | 0ms | 300kb | Raspuns gresit! | 0 |
5 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 324kb | Raspuns gresit! | 0 |
7 | 0ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 392kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 372kb | OKAY! | 10 |
10 | 0ms | 272kb | OKAY! | 10 |
Punctaj total | 30 |