Pagini recente » Borderou de evaluare (job #2510722) | Borderou de evaluare (job #2782260) | Borderou de evaluare (job #1087561) | Cod sursa (job #1662265) | Borderou de evaluare (job #1215916)
Borderou de evaluare (job #1215916)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51: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:52: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:54:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&n);
^
user.cpp:55:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:67:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&m);
^
user.cpp:70:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&op);
^
user.cpp:72: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:79:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n",&x);
^
/tmp/cc4KpVvp.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 | 444kb | OK | 10 | 10 |
| 2 | 0ms | 460kb | OK | 10 | 10 |
| 3 | 176ms | 1420kb | OK | 10 | 10 |
| 4 | 60ms | 1036kb | OK | 10 | 10 |
| 5 | 84ms | 1176kb | OK | 10 | 10 |
| 6 | 84ms | 1180kb | OK | 10 | 10 |
| 7 | 132ms | 1420kb | OK | 10 | 30 |
| 8 | 264ms | 1900kb | OK | 10 |
| 9 | 240ms | 1896kb | OK | 10 |
| 10 | Depăşit | 1980kb | Time limit exceeded. | 0 | 0 |
| Punctaj total | 90 |