Pagini recente » Borderou de evaluare (job #824144) | Borderou de evaluare (job #1684971) | Borderou de evaluare (job #2024567) | Borderou de evaluare (job #3176732) | Borderou de evaluare (job #2130625)
Borderou de evaluare (job #2130625)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<sons[nd].size();j++)
^
user.cpp:48:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<sons[nd].size();j++)
^
user.cpp:64:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<lvl[i].size();j++)
^
user.cpp:71:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<lvl[lv].size();i++)
^
user.cpp:74:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<fth[nd].size();j++)
^
user.cpp:79:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<lvl[lv].size();i++)
^
user.cpp:86:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<sons[nd].size();j++)
^
user.cpp:11:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in","r",stdin);
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) scanf("%d",&val[i]);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1324kb | OK! | 10 |
| 2 | 0ms | 1324kb | OK! | 10 |
| 3 | 0ms | 1324kb | OK! | 10 |
| 4 | 0ms | 1328kb | OK! | 10 |
| 5 | 0ms | 1384kb | Gresit! | 3 |
| 6 | 0ms | 1384kb | Gresit! | 3 |
| 7 | 0ms | 1324kb | Gresit! | 0 |
| 8 | 0ms | 1332kb | Gresit! | 0 |
| 9 | 0ms | 1340kb | Gresit! | 0 |
| 10 | 0ms | 1324kb | OK! | 10 |
| Punctaj total | 56 |