Pagini recente » Borderou de evaluare (job #2684682) | Borderou de evaluare (job #1570220) | Borderou de evaluare (job #385785) | Borderou de evaluare (job #357627) | Borderou de evaluare (job #1284501)
Borderou de evaluare (job #1284501)
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 | 4ms | 2624kb | OK | 5 |
2 | 4ms | 2624kb | OK | 5 |
3 | 4ms | 2624kb | OK | 5 |
4 | 4ms | 2624kb | OK | 5 |
5 | 4ms | 2628kb | OK | 5 |
6 | 32ms | 3500kb | OK | 5 |
7 | 36ms | 3372kb | OK | 5 |
8 | 64ms | 4272kb | OK | 5 |
9 | 88ms | 5204kb | OK | 10 |
10 | 140ms | 6344kb | OK | 10 |
11 | 244ms | 8372kb | OK | 10 |
12 | 300ms | 9384kb | OK | 10 |
13 | 340ms | 9696kb | OK | 10 |
14 | Depăşit | 10404kb | Time limit exceeded. | 0 |
Punctaj total | 90 |