Pagini recente » Borderou de evaluare (job #2523388) | Borderou de evaluare (job #2792463) | Borderou de evaluare (job #1910120) | Borderou de evaluare (job #1003838) | Borderou de evaluare (job #1322996)
Borderou de evaluare (job #1322996)
Raport evaluator
Compilare:
user.cpp: In function ‘void add(int)’:
user.cpp:26:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[k].size()&&ok==0;i++)
^
user.cpp: In function ‘int cauta(int)’:
user.cpp:57:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[k].size();i++)
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:66:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[k].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:83:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.in","r",stdin);
^
user.cpp:84:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.out","w",stdout);
^
user.cpp:85:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&s);
^
user.cpp:89:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&val[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 24ms | 19796kb | OK | 10 |
| 2 | 24ms | 19820kb | OK | 10 |
| 3 | 60ms | 20604kb | OK | 10 |
| 4 | 336ms | 25844kb | OK | 10 |
| 5 | 604ms | 31408kb | OK | 10 |
| 6 | 828ms | 35704kb | OK | 10 |
| 7 | 960ms | 38232kb | OK | 10 |
| 8 | 1028ms | 39292kb | OK | 10 |
| 9 | 1064ms | 40108kb | OK | 10 |
| 10 | 1104ms | 40732kb | OK | 10 |
| Punctaj total | 100 |