Pagini recente » Borderou de evaluare (job #1930985) | Borderou de evaluare (job #389080) | Borderou de evaluare (job #397554) | Borderou de evaluare (job #2842100) | Borderou de evaluare (job #1446298)
Borderou de evaluare (job #1446298)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harddp.in","r",stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harddp.out","w",stdout);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T ; printf("\n"), --T)
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n); gets(sir + 1);
^
user.cpp:15:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n); gets(sir + 1);
^
/tmp/ccYx1aDh.o: In function `main':
user.cpp:(.text.startup+0x8c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Briliantul te premieaza! | 100 |
Punctaj total | 100 |