Pagini recente » Borderou de evaluare (job #1509365) | Borderou de evaluare (job #2935051) | Borderou de evaluare (job #912369) | Borderou de evaluare (job #1123678) | Borderou de evaluare (job #1539521)
Borderou de evaluare (job #1539521)
Raport evaluator
Compilare:
user.cpp: In function ‘big operator-(big, big)’:
user.cpp:42:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
a.d[i] -= t + (i < b.d.size()?b.d[i]:0);
^
user.cpp: In function ‘bool operator<(big, big)’:
user.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘big read()’:
user.cpp:56:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buffer+1);
^
user.cpp: In function ‘int main()’:
user.cpp:84:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragonball.in","r",stdin);
^
user.cpp:85:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragonball.out","w",stdout);
^
user.cpp:86:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
/tmp/cccsV1B1.o: In function `read()':
user.cpp:(.text+0x210): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 496kb | OK | 10 |
2 | 4ms | 536kb | OK | 10 |
3 | 4ms | 512kb | Incorect | 0 |
4 | 8ms | 636kb | Incorect | 0 |
5 | 0ms | 512kb | Incorect | 0 |
6 | 180ms | 12872kb | Incorect | 0 |
7 | 104ms | 1740kb | Incorect | 0 |
8 | 164ms | 6692kb | Incorect | 0 |
9 | 232ms | 12868kb | Incorect | 0 |
10 | 232ms | 12868kb | Incorect | 0 |
Punctaj total | 20 |