Pagini recente » Borderou de evaluare (job #2990771) | Borderou de evaluare (job #312305) | Borderou de evaluare (job #1129569) | Borderou de evaluare (job #610659) | Borderou de evaluare (job #1372252)
Borderou de evaluare (job #1372252)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&mat[i][j]);
^
user.cpp:56:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:49:20: warning: variable ‘max’ set but not used [-Wunused-but-set-variable]
int i, j, ind, max, sum = 0;
^
user.cpp:47: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:48: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:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:53: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:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:56: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 | 300kb | OKAY! | 10 |
2 | 0ms | 308kb | Raspuns gresit! | 0 |
3 | 0ms | 308kb | Raspuns gresit! | 0 |
4 | 0ms | 312kb | Raspuns gresit! | 0 |
5 | 0ms | 412kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 344kb | Raspuns gresit! | 0 |
7 | 0ms | 428kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 416kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 384kb | OKAY! | 10 |
10 | 0ms | 292kb | OKAY! | 10 |
Punctaj total | 30 |