Pagini recente » Borderou de evaluare (job #2739890) | Borderou de evaluare (job #1440847) | Borderou de evaluare (job #1734216)
Borderou de evaluare (job #1734216)
Raport evaluator
Compilare:
user.cpp: In function ‘void BellmanFord()’:
user.cpp:22:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘void DFS(int)’:
user.cpp:35:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<graph[node].size();i++)
^
user.cpp: In function ‘void AntiDFS(int)’:
user.cpp:45:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<invertedGraph[node].size();i++)
^
user.cpp: In function ‘void StronglyConnectedComponents()’:
user.cpp:52:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<g[i].size();j++)
^
user.cpp: In function ‘int ComputeAnswer()’:
user.cpp:70:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<graph[i].size();j++)
^
user.cpp: In function ‘int main()’:
user.cpp:76:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeroc.in","r",stdin);
^
user.cpp:77:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zeroc.out","w",stdout);
^
user.cpp:79:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:81:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&b,&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 396kb | OK | 10 |
| 2 | 0ms | 408kb | OK | 10 |
| 3 | 8ms | 544kb | OK | 10 |
| 4 | 20ms | 588kb | OK | 10 |
| 5 | 28ms | 648kb | OK | 10 |
| 6 | 20ms | 644kb | OK | 10 |
| 7 | 12ms | 668kb | OK | 10 |
| 8 | 16ms | 796kb | OK | 10 |
| 9 | 24ms | 676kb | OK | 10 |
| 10 | 20ms | 656kb | OK | 10 |
| Punctaj total | 100 |