Pagini recente » Borderou de evaluare (job #651476) | Borderou de evaluare (job #46073) | Borderou de evaluare (job #1552650) | Borderou de evaluare (job #1299050) | Borderou de evaluare (job #1847630)
Borderou de evaluare (job #1847630)
Raport evaluator
Compilare:
user.cpp: In function ‘int df1(int)’:
user.cpp:17:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<m[nod].size();i++)
^
user.cpp: In function ‘int df2(int, int)’:
user.cpp:38:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<m[tata].size();i++)
^
user.cpp:48:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<m[nod].size();i++)
^
user.cpp:53:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:59:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("razboi.in","r",stdin);
^
user.cpp:60:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("razboi.out","w",stdout);
^
user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:65:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:77:37: 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 | 156ms | 1644kb | Incorect | 0 |
Punctaj total | 0 |