Pagini recente » Borderou de evaluare (job #2251962) | Borderou de evaluare (job #1302713) | Cod sursa (job #1844510) | Borderou de evaluare (job #2262059) | Borderou de evaluare (job #1745419)
Borderou de evaluare (job #1745419)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:26:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<List[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:34:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&K,&M,&N);
^
user.cpp:34:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:34:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:40:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short j=0;j<V.size();j++)
^
user.cpp:54:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short i=0;i<V.size();i++)
^
user.cpp:55:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(short j=i+1;j<V.size();j++)
^
user.cpp:66:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V.size();i++)
^
user.cpp:32:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colaj.in","r",stdin);
^
user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("colaj.out","w",stdout);
^
user.cpp:34:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&K,&M,&N);
^
user.cpp:38:100: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd%hd",&Rect.first.second,&Rect.first.first,&Rect.second.second,&Rect.second.first);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | Incorect | 0 |
| 2 | 0ms | 284kb | Incorect | 0 |
| 3 | 0ms | 288kb | Incorect | 0 |
| 4 | 0ms | 284kb | Incorect | 0 |
| 5 | 0ms | 280kb | Incorect | 0 |
| 6 | 0ms | 288kb | Incorect | 0 |
| 7 | 0ms | 284kb | Incorect | 0 |
| 8 | 0ms | 284kb | OK | 10 |
| 9 | 0ms | 280kb | Incorect | 0 |
| 10 | 0ms | 284kb | Incorect | 0 |
| Punctaj total | 10 |