Pagini recente » Borderou de evaluare (job #991218) | Borderou de evaluare (job #566516) | Borderou de evaluare (job #2809369) | Borderou de evaluare (job #3227575) | Borderou de evaluare (job #1284494)
Borderou de evaluare (job #1284494)
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:87: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:104: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:70:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:73: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:76:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:79: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 | 0ms | 1456kb | OK | 5 |
2 | 0ms | 1452kb | OK | 5 |
3 | 0ms | 1452kb | OK | 5 |
4 | 0ms | 1456kb | OK | 5 |
5 | 0ms | 1452kb | OK | 5 |
6 | 28ms | 2328kb | OK | 5 |
7 | 32ms | 2204kb | OK | 5 |
8 | 60ms | 3092kb | OK | 5 |
9 | 80ms | 4036kb | OK | 10 |
10 | 136ms | 5184kb | OK | 10 |
11 | 240ms | 7196kb | OK | 10 |
12 | 292ms | 8208kb | OK | 10 |
13 | 332ms | 8516kb | OK | 10 |
14 | Depăşit | 9192kb | Time limit exceeded. | 0 |
Punctaj total | 90 |