Pagini recente » Borderou de evaluare (job #1974480) | Borderou de evaluare (job #2512110) | Borderou de evaluare (job #1352519) | Borderou de evaluare (job #1229285) | Borderou de evaluare (job #1353742)
Borderou de evaluare (job #1353742)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:64:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 1; k < I[j].size(); ++k)
^
user.cpp:76:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",rez);
^
user.cpp:24:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld%d",&N,&M,&K,&D);
^
user.cpp:37:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cod[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:88:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifrul.in","r",stdin);
^
user.cpp:89:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifrul.out","w",stdout);
^
user.cpp:92:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tst);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | Incorect | 0 |
Punctaj total | 0 |