Pagini recente » Borderou de evaluare (job #1307925) | Borderou de evaluare (job #1670066) | Borderou de evaluare (job #1274641) | Borderou de evaluare (job #2762412) | Borderou de evaluare (job #1368351)
Borderou de evaluare (job #1368351)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:125:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld %ld %ld %ld\n",&x0,&a,&b,&m,&q);
^
user.cpp:125:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:125:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:125:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:125:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:152:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<qq.size();i++){
^
user.cpp:122:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir4.in","r",stdin);
^
user.cpp:123:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir4.out","w",stdout);
^
user.cpp:125:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld %ld %ld\n",&x0,&a,&b,&m,&q);
^
user.cpp: In member function ‘void bNumber::getFile()’:
user.cpp:32:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cchI2uC7.o: In function `main':
user.cpp:(.text.startup+0x14b): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 556kb | OK | 10 |
| 2 | 0ms | 548kb | OK | 10 |
| 3 | 0ms | 552kb | OK | 10 |
| 4 | 68ms | 548kb | OK | 10 |
| 5 | 72ms | 548kb | OK | 10 |
| 6 | 40ms | 560kb | OK | 10 |
| 7 | 48ms | 568kb | OK | 10 |
| 8 | 352ms | 564kb | OK | 10 |
| 9 | 516ms | 568kb | OK | 10 |
| 10 | 600ms | 568kb | OK | 10 |
| Punctaj total | 100 |