Pagini recente » Borderou de evaluare (job #2669058) | Borderou de evaluare (job #1103399) | Cod sursa (job #2412509) | Borderou de evaluare (job #3233601) | Borderou de evaluare (job #1353722)
Borderou de evaluare (job #1353722)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:63:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 1; k < I[j].size(); ++k)
^
user.cpp:75:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",rez);
^
user.cpp:23:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&N,&M,&K,&D);
^
user.cpp:36: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:87: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:88: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:91: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 | 288kb | Incorect | 0 |
Punctaj total | 0 |