Pagini recente » Borderou de evaluare (job #1894266) | Borderou de evaluare (job #1092396) | Borderou de evaluare (job #2611525) | Cod sursa (job #1757722) | Borderou de evaluare (job #1267086)
Borderou de evaluare (job #1267086)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int cupleaza(long long int)’:
user.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[nod].size();i++)
^
user.cpp:29:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<g[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:43:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.in","r",stdin);
^
user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.out","w",stdout);
^
user.cpp:45:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld\n",&n,&m);
^
user.cpp:48:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccjiogUz.o: In function `main':
user.cpp:(.text.startup+0x93): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 308kb | Incorect! | 0 |
| 2 | 0ms | 304kb | S-a respectat legea! | 10 |
| 3 | 0ms | 312kb | Incorect! | 0 |
| 4 | 0ms | 316kb | Incorect! | 0 |
| 5 | 0ms | 352kb | Incorect! | 0 |
| 6 | 0ms | 340kb | Incorect! | 0 |
| 7 | 0ms | 360kb | Incorect! | 0 |
| 8 | 0ms | 356kb | Incorect! | 0 |
| 9 | 0ms | 304kb | S-a respectat legea! | 10 |
| 10 | 0ms | 316kb | S-a respectat legea! | 10 |
| Punctaj total | 30 |