Pagini recente » Borderou de evaluare (job #7597) | Borderou de evaluare (job #1074202) | Borderou de evaluare (job #2917597) | Borderou de evaluare (job #2582827) | Borderou de evaluare (job #1968824)
Borderou de evaluare (job #1968824)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(std::vector<int>, std::vector<int>, int)’:
user.cpp:27:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<fii.size();i++) poz[i]=0;
^
user.cpp:28:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<=v.size();i++) cnt[i]=0;
^
user.cpp:29:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<=v.size()+fii.size();i++) vaz[i]=1;
^
user.cpp:41:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<fii.size();j++)
^
user.cpp:42:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;poz[j]<a+fii.size() && poz[j]<v.size() && d[fii[j]][v[poz[j]]]<=lim;poz[j]++)
^
user.cpp:42:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;poz[j]<a+fii.size() && poz[j]<v.size() && d[fii[j]][v[poz[j]]]<=lim;poz[j]++)
^
user.cpp: In function ‘int main()’:
user.cpp:86:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for(int j=0;j<t;j++) scanf("%d",&verif[i][j]);
^
user.cpp:75:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tcast.in", "r", stdin);
^
user.cpp:76:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tcast.out", "w", stdout);
^
user.cpp:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
user.cpp:81:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:86:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=0;j<t;j++) scanf("%d",&verif[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 364kb | OK | 10 |
2 | 232ms | 13140kb | OK | 10 |
3 | 252ms | 13144kb | OK | 10 |
4 | Depăşit | 19900kb | Time limit exceeded. | 0 |
5 | 32ms | 2524kb | OK | 10 |
6 | 64ms | 6256kb | OK | 10 |
7 | 96ms | 7800kb | OK | 10 |
8 | 144ms | 10204kb | OK | 10 |
9 | 204ms | 12556kb | OK | 10 |
10 | Depăşit | 25960kb | Time limit exceeded. | 0 |
Punctaj total | 80 |