Pagini recente » Borderou de evaluare (job #1316044) | Borderou de evaluare (job #1774882) | Borderou de evaluare (job #301560) | Borderou de evaluare (job #2082596) | Borderou de evaluare (job #1848670)
Borderou de evaluare (job #1848670)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:32: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c%d%d",&c,&k,&p);
^
user.cpp:32:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(lin[p].size()>=k) printf("%d\n",lin[p][k-1]);
^
user.cpp:37:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(col[p].size()>=k) printf("%d\n",col[p][k-1]);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qmatrix.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("qmatrix.out","w",stdout);
^
user.cpp:9:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&n,&x,&y,&q);
^
user.cpp:27:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%d%d",&c,&k,&p);
^
user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | Incorect | 0 |
2 | 0ms | 564kb | Incorect | 0 |
3 | 4ms | 724kb | Incorect | 0 |
4 | 28ms | Depăşit | Memory limit exceeded. | 0 |
5 | 24ms | Depăşit | Memory limit exceeded. | 0 |
6 | 28ms | Depăşit | Memory limit exceeded. | 0 |
7 | 28ms | Depăşit | Memory limit exceeded. | 0 |
8 | 28ms | Depăşit | Memory limit exceeded. | 0 |
9 | 28ms | Depăşit | Memory limit exceeded. | 0 |
10 | 24ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |