Pagini recente » Borderou de evaluare (job #206428) | Borderou de evaluare (job #873304) | Borderou de evaluare (job #37493) | Borderou de evaluare (job #2937728) | Borderou de evaluare (job #1847333)
Borderou de evaluare (job #1847333)
Raport evaluator
Compilare:
user.cpp: In function ‘int addpwr(int, int)’:
user.cpp:52:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:70:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.in", "r", stdin);
^
user.cpp:71:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.out", "w", stdout);
^
user.cpp:74:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:75:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n", &a, &r, &k);
^
user.cpp:81:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccDoCuRS.o: In function `main':
user.cpp:(.text.startup+0xbf): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 456kb | OK | 10 |
2 | 0ms | 460kb | OK | 10 |
3 | 0ms | 480kb | OK | 10 |
4 | 4ms | 496kb | OK | 10 |
5 | 20ms | 668kb | OK | 10 |
6 | 36ms | 828kb | OK | 10 |
7 | 64ms | 1120kb | OK | 10 |
8 | 204ms | 2056kb | OK | 10 |
9 | 100ms | 452kb | OK | 10 |
10 | 172ms | 2020kb | OK | 10 |
Punctaj total | 100 |