Pagini recente » Borderou de evaluare (job #1668270) | Borderou de evaluare (job #1293427) | Borderou de evaluare (job #2498901) | Borderou de evaluare (job #2683359) | Borderou de evaluare (job #1538804)
Borderou de evaluare (job #1538804)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<int> multiply(std::vector<int>, std::vector<int>)’:
user.cpp:40:17: warning: unused variable ‘lim’ [-Wunused-variable]
int n=1<<16,lim=max(a.size(),b.size());
^
user.cpp: In function ‘int main()’:
user.cpp:77:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++)
^
user.cpp: In function ‘std::vector<int> read()’:
user.cpp:57:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:70:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bacterii2.in", "r", stdin);
^
user.cpp:71:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bacterii2.out", "w", stdout);
^
user.cpp:73:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d",&t);t;t--)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 4892kb | Time limit exceeded. | 0 |
Punctaj total | 0 |