Pagini recente » Borderou de evaluare (job #751022) | Monitorul de evaluare | Borderou de evaluare (job #2920508) | Borderou de evaluare (job #2920487) | Borderou de evaluare (job #1215919)
Borderou de evaluare (job #1215919)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld\n",&n);
^
user.cpp:54:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld\n",&m);
^
user.cpp:59:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld\n",&x,&val);
^
user.cpp:59:38: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:63:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld\n",&x);
^
user.cpp:71:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",ans);
^
user.cpp:83:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",p);
^
user.cpp:38:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.in","r",stdin);
^
user.cpp:39:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.out","w",stdout);
^
user.cpp:41:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&n);
^
user.cpp:42:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:54:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&m);
^
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:59:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld\n",&x,&val);
^
user.cpp:63:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&x);
^
/tmp/ccrZpLTw.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 468kb | OK | 10 | 10 |
| 2 | 0ms | 476kb | OK | 10 | 10 |
| 3 | 212ms | 1436kb | OK | 10 | 10 |
| 4 | 72ms | 1044kb | OK | 10 | 10 |
| 5 | 100ms | 1192kb | OK | 10 | 10 |
| 6 | 100ms | 1192kb | OK | 10 | 10 |
| 7 | 168ms | 1436kb | OK | 10 | 30 |
| 8 | 328ms | 1920kb | OK | 10 |
| 9 | 284ms | 1916kb | OK | 10 |
| 10 | Depăşit | 1992kb | Time limit exceeded. | 0 | 0 |
| Punctaj total | 90 |