Pagini recente » Borderou de evaluare (job #386989) | Borderou de evaluare (job #2017065) | Borderou de evaluare (job #2078705) | Borderou de evaluare (job #2563150) | Borderou de evaluare (job #1766429)
Borderou de evaluare (job #1766429)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[505]’ [-Wformat=]
scanf("%s",&s1);
^
user.cpp:16:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[505]’ [-Wformat=]
scanf("%s",&s2);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsir.in","r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("subsir.out","w",stdout);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s1);
^
user.cpp:15:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s2);
^
user.cpp:32:16: warning: array subscript is above array bounds [-Warray-bounds]
V[k][i+1]=i;
^
user.cpp:41:16: warning: array subscript is above array bounds [-Warray-bounds]
W[k][i+1]=i;
^
user.cpp:61:27: warning: array subscript is above array bounds [-Warray-bounds]
pa=V[k][i];
^
user.cpp:62:27: warning: array subscript is above array bounds [-Warray-bounds]
pb=W[k][j];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 376kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |