Pagini recente » Borderou de evaluare (job #2425873) | Borderou de evaluare (job #449601) | Borderou de evaluare (job #3153191) | Borderou de evaluare (job #525621) | Borderou de evaluare (job #1397348)
Borderou de evaluare (job #1397348)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&k);
^
user.cpp:13:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) for (j=1; j<=n; j++) scanf("%d",&a[i][j]);
^
user.cpp:14:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:17:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccwyyvMF.o: In function `main':
user.cpp:(.text.startup+0x118): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Gresit! | 0 |
2 | 0ms | 248kb | Gresit! | 0 |
3 | 0ms | 292kb | Gresit! | 0 |
4 | 0ms | 324kb | Gresit! | 0 |
5 | 8ms | 632kb | Gresit! | 0 |
6 | 0ms | 296kb | Gresit! | 0 |
7 | 36ms | 1028kb | Gresit! | 0 |
8 | 56ms | 1212kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 440kb | Gresit! | 0 |
10 | 0ms | 440kb | Gresit! | 0 |
Punctaj total | 0 |