Pagini recente » Borderou de evaluare (job #1719775) | Borderou de evaluare (job #1814707) | Borderou de evaluare (job #3151895) | Borderou de evaluare (job #2338357) | Borderou de evaluare (job #1284506)
Borderou de evaluare (job #1284506)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:20:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < V[u].size() ; i++){
^
user.cpp: In function ‘void solve()’:
user.cpp:86:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < query.size() ; i++){
^
user.cpp: At global scope:
user.cpp:103:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main(){
^
user.cpp: In function ‘void load_graph()’:
user.cpp:60:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:63:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&u);
^
user.cpp: In function ‘void read_query()’:
user.cpp:69:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:72:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a,&b,&c);
^
user.cpp:75:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:78:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:105:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curent.in","r",stdin);
^
user.cpp:106:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("curent.out","w",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 2628kb | OK | 5 |
| 2 | 4ms | 2624kb | OK | 5 |
| 3 | 4ms | 2628kb | OK | 5 |
| 4 | 4ms | 2628kb | OK | 5 |
| 5 | 4ms | 2624kb | OK | 5 |
| 6 | 32ms | 3504kb | OK | 5 |
| 7 | 32ms | 3368kb | OK | 5 |
| 8 | 64ms | 4264kb | OK | 5 |
| 9 | 80ms | 5196kb | OK | 10 |
| 10 | 132ms | 6352kb | OK | 10 |
| 11 | 236ms | 8372kb | OK | 10 |
| 12 | 284ms | 9376kb | OK | 10 |
| 13 | 324ms | 9688kb | OK | 10 |
| 14 | Depăşit | 10324kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |