Pagini recente » Borderou de evaluare (job #1786893) | Borderou de evaluare (job #2428265) | Borderou de evaluare (job #2746656) | Borderou de evaluare (job #1314991) | Borderou de evaluare (job #2369949)
Borderou de evaluare (job #2369949)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:36:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[x].size();j++)
~^~~~~~~~~~~~
main.cpp:38:10: warning: variable 's1' set but not used [-Wunused-but-set-variable]
dd s1=s[x][j];
^~
main.cpp:44:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[x].size();j++)dp[j]=dp1[j],dp1[j]=0;
~^~~~~~~~~~~~
main.cpp:45:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[x].size();j++)
~^~~~~~~~~~~~
main.cpp:61:22: warning: self-comparison always evaluates to true [-Wtautological-compare]
if(s2.y==s2.y)
~~~~^~~~~~
main.cpp:54:40: warning: unused variable 'l' [-Wunused-variable]
int st=0,dr=s[k[i+1]].size(),l=0;
^
main.cpp:80:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<s[x].size();j++)
~^~~~~~~~~~~~
main.cpp:82:10: warning: variable 's1' set but not used [-Wunused-but-set-variable]
dd s1=s[x][j];
^~
main.cpp:21:17: warning: unused variable 'nr' [-Wunused-variable]
int n,m,i,j,nr;
^~
main.cpp:19:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe2.in","r",stdin);
^
main.cpp:20:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sarpe2.out","w",stdout);
^
main.cpp:22:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:23:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++){scanf("%d",&k[i]);}
^
main.cpp:27:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 14ms | 2621kb | Incorect | 0 | 0 |
2 | 7ms | 2621kb | Incorect | 0 |
3 | 14ms | 3014kb | Incorect | 0 | 0 |
4 | 13ms | 3145kb | Incorect | 0 |
5 | 36ms | 3932kb | OK | 5 | 0 |
6 | 28ms | 3932kb | Incorect | 0 |
7 | 607ms | 17825kb | Incorect | 0 | 0 |
8 | 624ms | 20496kb | Memory limit exceeded | 0 |
9 | 701ms | 18087kb | Time limit exceeded | 0 | 0 |
10 | 681ms | 20496kb | Memory limit exceeded | 0 |
11 | 698ms | 17432kb | Incorect | 0 | 0 |
12 | 677ms | 20496kb | Memory limit exceeded | 0 |
13 | 700ms | 18087kb | Time limit exceeded | 0 | 0 |
14 | 675ms | 20496kb | Memory limit exceeded | 0 |
15 | 631ms | 17956kb | Incorect | 0 | 0 |
16 | 613ms | 20496kb | Memory limit exceeded | 0 |
17 | 619ms | 17825kb | Incorect | 0 | 0 |
18 | 620ms | 20496kb | Memory limit exceeded | 0 |
19 | 627ms | 17825kb | Incorect | 0 | 0 |
20 | 631ms | 20496kb | Memory limit exceeded | 0 |
Punctaj total | 0 |