Pagini recente » Cod sursa (job #987301) | Borderou de evaluare (job #1972351) | Borderou de evaluare (job #2938721) | Cod sursa (job #2265076) | Borderou de evaluare (job #1898894)
Borderou de evaluare (job #1898894)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:19:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<from[x].size(); i++)
^
user.cpp: In function ‘void revdfs(int)’:
user.cpp:34:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[x].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:44:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
user.cpp:46:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&cost[i]);
^
user.cpp:50:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&NR);
^
user.cpp:54:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK! | 10 |
| 2 | 0ms | 268kb | OK! | 10 |
| 3 | 0ms | 280kb | OK! | 10 |
| 4 | 0ms | 268kb | OK! | 10 |
| 5 | 0ms | 336kb | OK! | 10 |
| 6 | 0ms | 328kb | OK! | 10 |
| 7 | 0ms | 272kb | OK! | 10 |
| 8 | 0ms | 276kb | OK! | 10 |
| 9 | 0ms | 284kb | OK! | 10 |
| 10 | 0ms | 268kb | OK! | 10 |
| Punctaj total | 100 |