Borderou de evaluare (job #1657704)

Utilizator robx12lnLinca Robert robx12ln Data 20 martie 2016 18:29:33
Problema Culori2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:39: warning: conversion lacks type at end of format [-Wformat=] fscanf( fin, "%d%h%d", &n, &c, &m ); ^ user.cpp:13:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:13:39: warning: too many arguments for format [-Wformat-extra-args] user.cpp:20:57: warning: conversion lacks type at end of format [-Wformat=] fscanf( fin, "%d%d%h%h", &poz, &L, &c1, &c2 ); ^ user.cpp:20:57: warning: conversion lacks type at end of format [-Wformat=] user.cpp:20:57: warning: too many arguments for format [-Wformat-extra-args] user.cpp:13:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%h%d", &n, &c, &m ); ^ user.cpp:18:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &op ); ^ user.cpp:20:58: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d%h%h", &poz, &L, &c1, &c2 ); ^ user.cpp:29:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &poz ); ^ user.cpp:36:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d", &poz ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms192kbKilled by signal 11(SIGSEGV).0
20ms188kbKilled by signal 11(SIGSEGV).0
30ms192kbKilled by signal 11(SIGSEGV).0
40ms196kbKilled by signal 11(SIGSEGV).0
50ms192kbKilled by signal 11(SIGSEGV).0
60ms188kbKilled by signal 11(SIGSEGV).0
70ms188kbKilled by signal 11(SIGSEGV).0
80ms192kbKilled by signal 11(SIGSEGV).0
90ms192kbKilled by signal 11(SIGSEGV).0
100ms192kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?