Pagini recente » Borderou de evaluare (job #474869) | Borderou de evaluare (job #1376059) | Borderou de evaluare (job #558362) | Borderou de evaluare (job #3254278) | Borderou de evaluare (job #2232935)
Borderou de evaluare (job #2232935)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v[sir[1]-'!'].size();j++)
~^~~~~~~~~~~~~~~~~~~~~
user.cpp:31:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(poz[k]<v[sir[k]-'!'].size() && v[sir[k]-'!'][poz[k]]<=pozz) poz[k]++;
~~~~~~^~~~~~~~~~~~~~~~~~~~~
user.cpp:32:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(poz[k]==v[sir[k]-'!'].size()) {p=1;break;}
~~~~~~^~~~~~~~~~~~~~~~~~~~~~
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.out","w",stdout);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",sir+1);
^
user.cpp:18:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",sir+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1332kb | OK | 10 |
2 | 0ms | 1328kb | OK | 10 |
3 | 0ms | 1336kb | OK | 10 |
4 | 0ms | 1344kb | OK | 10 |
5 | 12ms | 1340kb | OK | 10 |
6 | 4ms | 1340kb | OK | 10 |
7 | Depăşit | 1332kb | Time limit exceeded. | 0 |
8 | 48ms | 1340kb | OK | 10 |
9 | 36ms | 1340kb | OK | 10 |
10 | 32ms | 1344kb | OK | 10 |
Punctaj total | 90 |