Pagini recente » Borderou de evaluare (job #284876) | Borderou de evaluare (job #661961) | Borderou de evaluare (job #2948668) | Borderou de evaluare (job #2273905) | Borderou de evaluare (job #2146558)
Borderou de evaluare (job #2146558)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS1(int)’:
user.cpp:16:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Graph[node].size();i++)
^
user.cpp: In function ‘void DFS2(int, int)’:
user.cpp:23:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Graph[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:49:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<int>::size_type {aka long unsigned int}’ [-Wformat=]
fprintf(OUT,"%d\n",o1.size());
^
user.cpp:50:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<o1.size();i++)
^
user.cpp:52:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector<int>::size_type {aka long unsigned int}’ [-Wformat=]
fprintf(OUT,"\n%d\n",o2.size());
^
user.cpp:53:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<o2.size();i++)
^
user.cpp:36:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&N,&M);
^
user.cpp:39:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&X,&Y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1716kb | Raspuns partial corect | 4 |
2 | 4ms | 1964kb | Raspuns partial corect | 4 |
3 | 0ms | 1752kb | Raspuns partial corect | 4 |
4 | 0ms | 1564kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 1548kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 1544kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 1548kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 1552kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 1552kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 1684kb | Raspuns partial corect | 4 |
Punctaj total | 16 |